Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() i want to chack (not to refresh) if a pivotable is already refreshed. i have to make some operations before the refreshing so the macro must identify if the pifotable was refreshed or not can you help me to build such macro? thank you rozent *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I cannot see how this could be done because Excel has no way of knowin if the base data has been changed or not. 1. We can check the last refresh time with something like :- Code ------------------- Set pvtTable = ActiveSheet.PivotTables(1) dateString = Format(pvtTable.RefreshDate, "dd/mm/yyyy hh:mm:ss") MsgBox dateString ------------------- 2. You could set up your own variable and change it if *you* d something to the base data within the macro : Dim PivotIsRefreshed as Boolean PivotIsRefreshed = Fals -- Brian ----------------------------------------------------------------------- BrianB's Profile: http://www.excelforum.com/member.php...tinfo&userid=5 View this thread: http://www.excelforum.com/showthread.php?threadid=27410 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Filter on Pivotable | Excel Discussion (Misc queries) | |||
Excel2000...use Ctrl-V, not Paste, in macro to Format Axis in a ch | Charts and Charting in Excel | |||
Pivotable Columns | Excel Worksheet Functions | |||
How to set up a repeating macro to sum values in Excel2000? | Excel Discussion (Misc queries) | |||
pivotable excel2000 macro | Excel Programming |