Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Group Dates with Code
Hi Booshi
This code will let you group the dates the way Tom suggests. You can find a full explanation in the VB HELP under GROUP METHOD look in the range object explanation. PT.PivotSelect "date[All]", xlLabelOnly Selection.Group Start:=True, End:=True, Periods:=Array (False, False, False, _ False, True, False, True) where PT is a global variable set to the current pivot table. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Group Dates | Excel Discussion (Misc queries) | |||
group of dates | Excel Discussion (Misc queries) | |||
Group Dates from SQL Query | Excel Discussion (Misc queries) | |||
PivotTables - Group Dates, excluding dates | Excel Discussion (Misc queries) | |||
Group dates by month | Excel Programming |