Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a macro which is fine. But part of it has to be done manually.
e.g. when the new financial year begins..(01st April of each year) a new field needs to be addded ( in this case I added manually 2005) With ActiveSheet.Pivottables("a1").PivotFields("Campaig n year") ..Orientation = xlPageField ..Position = 1 ..PivotItems("2005").Visible = False ..PivotItems("2004").Visible = False ..PivotItems("pre 2004").Visible = False End With Is it possible to write a if statement where it checks for date and hide the pivotitems accordingly? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
formula for lenght of employment based on hire date | Excel Worksheet Functions | |||
Sum based on date range | Excel Discussion (Misc queries) | |||
change date based on time | Excel Discussion (Misc queries) | |||
Counting unique records based on date range | Excel Worksheet Functions | |||
Show a date based on today | Excel Worksheet Functions |