+ Reply to Thread
Results 1 to 2 of 2

Need help finishing my VBA spreadsheet mess

  1. #1
    Registered User
    Join Date
    04-16-2019
    Location
    Kansas
    MS-Off Ver
    2007
    Posts
    7

    Need help finishing my VBA spreadsheet mess

    Hey All,

    I haven't done any sort of VB or any programming since college, and that was 15 years ago (yikers). Last year, I got a wild hair to build a "simple" sheet that would allow us to partake in an offline fantasy football draft. For slapping it together, and not really knowing what I was doing, it worked rather well (a few bugs trying to set focus if we tabbed to different sheets). It's a table that has a dropdown menu and command button. When we start typing a players name, it auto populates and we can click submit, at which time it pastes a formatted value (like Todd Gurley - RB - LAR, in a red box to denote RB). Fast Forward to today, I'm trying to clean it up and update it with this years player list and I'm running into issues:

    What it's doing now:
    * it's not tabbing over to the next cell after the command click and the value gets pasted
    * when I do hit tab after the command click, the next cell, which was getting focus last year, isn't and it takes 2 or 3 attempts of clicking the cell and the combo box to get the values to take
    * If I tab away to look at available players and come back, or jump to previous or much later cells, the combo box starts to populate the typed player, but when I select the value in the drop down list, it goes blank. Takes 2 to 3 tries also.


    What I'd like it to do to finish it up

    * fix the issues above
    * let me know if a duplicate player is in the range (tried it, but it would only return me the statement for a false value)
    * as players are selected, live update the drop down list, so as we type a previously taken player won't populate or show up (I have a second worksheet that has a true/false value if they've been selected and can manually update, but couldn't
    figure out how to tie it to drop down / combo box.
    * default to the first name in the drop down, so if I begin typing Tyreek Hill, that it selects his name (since he's the only Tyreek) and can hit Enter to populate instead of click his name in dropdown, click sumit, and tab to next cell.


    I've attached a screenshot of last years as well as attached my test files for this year. I'd greatly appreciate any help on this. I know just enough programming to mess things up, and even then, it's rusty, lol.

    Thanks

    draftboardshot.jpg

  2. #2
    Registered User
    Join Date
    04-16-2019
    Location
    Kansas
    MS-Off Ver
    2007
    Posts
    7

    Re: Need help finishing my VBA spreadsheet mess

    Update...

    When I begin typing a name in the combo box, and the drop down list begins populating, I select a name, and in most cases after I click on the name in the drop down, the combo box remains blank. That's where I mentioned i might have to do it 2 or three times to take. I noticed that if I click submit anyway, with a blank combo box, it will return a blank cell in the active cell and then tab to the next cell like it should. It seems all of my coding or formulas only work or think I have several null values.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help finishing the macro
    By MaritimeRob in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-07-2017, 03:06 AM
  2. [SOLVED] Finishing an VBA program
    By Nuno Neves in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-14-2014, 11:56 AM
  3. Need Help Finishing My Sheet
    By Adam Schaefer in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-18-2013, 10:02 PM
  4. [SOLVED] I need help with finishing a macro.
    By ATOP in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-14-2013, 11:38 AM
  5. [SOLVED] Loop not finishing
    By boomersooner5136 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-14-2012, 10:51 AM
  6. Dates Mess Up
    By Ramification87 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-30-2010, 08:02 AM
  7. Crl-Ed : another way to mess-up and fix
    By Patricia Shannon in forum Excel General
    Replies: 0
    Last Post: 03-23-2006, 02:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1