Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to write a function to ascertain if a worksheet solely
contains a pivot table based on information from elsewhere in that workbook, E.g. a worksheet containing data formula would return False, A worksheet containg data and a pivot would return false, a worksheet containing a pivot of external data would return false, but a worksheet containing a pivot of data within the workbook would return true. I'm not sure of any direct way to do this, but am thinking on the lines if the used range of the sheet matched the range used by the pivot and the source data did not reference another file that would give me the correct result, however I can't find any properties for a PivotTable object. I get as far as wks.PivotTables(1). then help runs out of help! Could anyone point me in the right direction please? Thanks J. (Win7/Excel 2007) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 Pivot Table Changes the Source Data Range | Excel Discussion (Misc queries) | |||
How do I change source data range for an existing Pivot Table? | Excel Programming | |||
Code that will rerun or refresh a pivot table (after new data ispasted into the original Pivot Table's Source Range) | Excel Programming | |||
Unfixing source data range for a pivot table using vba | Excel Programming | |||
Change the range of a pivot table data source | Excel Programming |