+ Reply to Thread
Results 1 to 3 of 3

Userform Listbox data from different workbooks

  1. #1
    Registered User
    Join Date
    02-27-2004
    Location
    Australia
    Posts
    16

    Exclamation Userform Listbox data from different workbooks

    Please help, I have created an userform listbox in workbook A and RowSource points to a specific range of values in a particular sheet in workbook A. The macro is activated by CTL(z). This part works fine as long as the active workbook is A. I want to activate the listbox from a different active workbook say B. The List box appears but no data because the rowsource points to a range in workbook A. I have tried to put Workbooks("workbook A") in rowsource but still no success. Any suggestions would be appreciated.
    Last edited by 4sharkfins; 08-07-2009 at 05:54 PM.

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Userform Listbox data from different workbooks

    Your rowsource would look like:
    Please Login or Register  to view this content.
    for example. As an aside though, I think it's better not to use the rowsource and to load the data in code.
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    02-27-2004
    Location
    Australia
    Posts
    16

    Re: Userform Listbox data from different workbooks

    Hello romerstormper
    Much appreciated.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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