LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Location: India
Posts: 24
Send a message via Skype™ to Gaura215
Default Selecting Date Range in a Pivot using VBA

I have created a pivot table, which has a date field in report filter field.

I need to prepare this Pivot every month. Is it possible, that while preparing this PIVOT using VBA, something can be done that the pivot automatically selects the dates only from the previous month and do not show all dates in the pivot.

For example, this month I prepared the report for the month of may. So I want the pivot to automatically show the data from may month and not the all months data. I have copied below the table below which I prepared.


Date Logged (All)
Status (All)
Country (Multiple Items)

Count of Tick mark when_x0020 Column Labels
Row Labels 0 1 Grand Total
High 89 8 97
Low 93 2 95
Medium 98 4 102
Grand Total 280 14 294
__________________
Regards
Gaurav
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Selecting date range for counts bokey Excel Worksheet Functions 5 April 17th 08 04:49 PM
Selecting current range for pivot macro Math[_2_] Excel Programming 4 February 4th 08 05:25 PM
selecting the first date in a range of dates shoun2me Excel Worksheet Functions 7 August 8th 07 07:02 PM
Selecting data within a date range mtaylor Excel Worksheet Functions 1 September 1st 05 12:17 PM
Help! Selecting data according to date range redbna Excel Discussion (Misc queries) 0 June 8th 05 06:58 PM


All times are GMT +1. The time now is 11:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"