+ Reply to Thread
Results 1 to 3 of 3

Fill pivot with selected value

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Fill pivot with selected value

    At the opening of my workbook I have a listbox allow my user to select the region they want to see. This value is populated into cell D2 of my "Steps" worksheet. My code for updating my pivot code has the line shown below. How would I go about changing this line so, instead of "010", the value would the value in cell D2 on "Steps"? Thanks in advance for any help on this.
    Please Login or Register  to view this content.
    Last edited by jomili; 03-15-2011 at 01:23 PM.

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

    Re: Fill pivot with selected value

    Please Login or Register  to view this content.
    Remember what the dormouse said
    Feed your head

  3. #3
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Fill pivot with selected value

    Thanks Romper. That's the exact code I tried, and got a "Subscript out of Range" error. When you posted the same code I decided to look closer and realized I needed to reference the workbook that "Steps" was in. That did the trick. Thanks so much for pointing me in the right direction.

    Thanks,
    John

+ 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