+ Reply to Thread
Results 1 to 2 of 2

VBA to Select Multiple Weeks in Pivot Table based on User Input

  1. #1
    Registered User
    Join Date
    03-26-2014
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    1

    VBA to Select Multiple Weeks in Pivot Table based on User Input

    Hello,
    Have been going round and round on this!

    I have a set of data that shows sales dollars by weeks. Currently, that data is in a Pivot table. I'd like to have a macro that selects the weeks (1-52) based on my input. For example. If I want to see weeks 5-52, I want to be able to input "5-52" somewhere and have a macro run that will select weeks 5-52 in the pivot table instead of having to go in and manually select each.

    Is this possible?

    Thank you,
    Phil

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: VBA to Select Multiple Weeks in Pivot Table based on User Input

    In the filter options above the checkboxes you can use the "Value Filters --> Between" option.
    Elegant Simplicity............. Not Always

+ 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. Replies: 8
    Last Post: 06-24-2014, 03:35 PM
  2. Macro to select rolling/latest 6 weeks in a pivot table
    By prasannakr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-19-2013, 03:59 AM
  3. Help filtering a pivot table using input from the user
    By kawhite03 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-04-2012, 05:39 PM
  4. Select Data Based on User Input
    By scurveydog in forum Excel General
    Replies: 2
    Last Post: 10-03-2010, 12:31 PM
  5. Updating value in table based on user input
    By danresnick.dr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-10-2010, 07:16 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