+ Reply to Thread
Results 1 to 3 of 3

populate userform with data from pivot table

  1. #1
    Registered User
    Join Date
    12-09-2015
    Location
    Netherlands
    MS-Off Ver
    Office 2010 / 2013
    Posts
    9

    Lightbulb populate userform with data from pivot table

    Hi,

    I was wondering if the following is possible and, if it is possible, if someone could point me in the right direction.

    I have a large file with multiple userforms. With one of those forms I want to enable the user to go through previous entrees, so that he/she can find the ID number that goes with the previous entree. I cannot use the output table that i use for this, because there are 105 columns in there that the user doesn't need to see. I made a pivot table from the master table, which contains 11 columns. I wanted to use a listbox, but i cannot set the rowsource to this pivot table.

    So in short, i'd like to show the entire pivot table that i made in a userform, preferably with search option. Any ideas?

    Thank you in advance!

    Mathijs

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: populate userform with data from pivot table

    If you are keeping the format of the pivot table relatively fixed (same filters, row headers, column headers and data), then you should be able to assign a name to the data range you want. if the number of rows and columns turn out to be variable, you can make this a named dynamic range.

  3. #3
    Registered User
    Join Date
    12-09-2015
    Location
    Netherlands
    MS-Off Ver
    Office 2010 / 2013
    Posts
    9

    Re: populate userform with data from pivot table

    That works perfectly, thank you!

+ 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. Populate Combobox with Pivot Table Data
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-26-2018, 10:13 AM
  2. [SOLVED] Auto Populate Data from Pivot Table
    By ricky82 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-03-2015, 07:44 AM
  3. Populate Data for Pivot Table
    By Jactey in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-23-2013, 05:28 AM
  4. Replies: 1
    Last Post: 11-12-2011, 05:38 PM
  5. Populate Excel table with userform data
    By waspandbee in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-21-2010, 09:34 PM
  6. Populate a comboxbox and Listbox in a excel userform with an sql table data
    By abhay_547 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-12-2010, 04:58 PM
  7. Populate a pivot table with transposed data
    By AndrewPace in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-23-2008, 09:47 PM

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