+ Reply to Thread
Results 1 to 4 of 4

Combobox on Userform not selecting correct data

  1. #1
    Registered User
    Join Date
    08-12-2010
    Location
    Brighton
    MS-Off Ver
    Excel 2003
    Posts
    21

    Combobox on Userform not selecting correct data

    Hi

    I have a combobox that is meant to pick up names from sheet1 starting from cell c2 and ending where ever it needs to as it will be an expanding list. For some reason it starts picking up information from cell c4. I can't seem to work it out. Any help appreciated.
    Last edited by frostie77; 11-20-2010 at 05:15 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Combobox not selecting correct data

    Hello frostie77,

    Your formula for "FirstFiled" was starting at $C$4. It should start at $C$2. here is the corrected formula
    =OFFSET(Sheet1!$C$2,0,0,COUNTA(Sheet1!$A:$A)-1,3)

  3. #3
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Combobox on Userform not selecting correct data

    Hi,

    That's because your dynamic range name 'FirstField' is set to start in C4 and not C2.

    HTH

  4. #4
    Registered User
    Join Date
    08-12-2010
    Location
    Brighton
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Combobox on Userform not selecting correct data

    Thank you, should have noticed that really!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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