+ Reply to Thread
Results 1 to 2 of 2

Populating user form combobox with range question

  1. #1
    Forum Contributor
    Join Date
    07-26-2012
    Location
    USA
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    351

    Populating user form combobox with range question

    Hey there,
    I'm working on a userform that has a few comboboxes that need to pull their data from a list on a worksheet. I'm using the following code:
    Please Login or Register  to view this content.
    This code works if sheet "1213" is selected, but if it isn't selected, the comboboxes don't populate. I can activate sheet "1213" at the beginning of the code, but is there any other way to get around this? I'd rather not have to select that sheet via VBA if possible. Anyone have any pointers?

  2. #2
    Forum Contributor
    Join Date
    07-26-2012
    Location
    USA
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    351

    Re: Populating user form combobox with range question

    I'm sorry, this was a stupid question, I just needed to add Sheets("1213") before Cells(i,13)

+ 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