+ Reply to Thread
Results 1 to 3 of 3

UserForm Listbox pulling data from another workbook

  1. #1
    Registered User
    Join Date
    12-17-2014
    Location
    Sao Paulo, Brazil
    MS-Off Ver
    2010
    Posts
    23

    UserForm Listbox pulling data from another workbook

    I have one workbook (WB1) with an UserForm1 that contains a listbox. The source for this list is a predetermined range (rngVariableWB2) from a second workbook (WB2). The row count for this range may vary and its first line is not the spreadsheet first line, which means the range will be between two others ranges. I don't know if it helps, but both workbook are stored in the same folder. does anyone how can I populate the listbox in wb1 with the values list from wb2? Thanks.

  2. #2
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,060

    Re: UserForm Listbox pulling data from another workbook

    Hi, just as a start try to read this http://www.exceltip.com/user-forms-i...oft-excel.html
    and then try
    Please Login or Register  to view this content.
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

  3. #3
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: UserForm Listbox pulling data from another workbook

    The solution depends on how the "predetermined" range was set. If that other workbook uses a dynamic range, then it is simple. If the range a column data, a row, or columns and rows?

+ 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. Transfer Data From One Userform Listbox to Another Userform Listbox with 11 columns
    By sparkoft in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 05-18-2013, 10:54 AM
  2. Listbox to Listbox, no duplicates & submitting same UserForm data for each Listbox entry.
    By jamieswift1977 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-18-2012, 12:18 PM
  3. [SOLVED] VBA Userform Pulling data from txt file
    By TalResha in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-18-2012, 08:33 AM
  4. Display a UserForm based on Data selected in another UserForm's ListBox
    By RPhilbin83 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-26-2011, 11:35 AM
  5. Replies: 3
    Last Post: 09-30-2008, 04:58 AM

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