Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
OLAP Pivot Function
I am new to working with OLAPs in Excel. I am having trouble with the
following whihc will not run no matter how I modify it. Can someone point me in the right direction or tell me if this just won't work when querying OLAP Pivots. I have multiple Pivots and am trying to change the page source. Sub newFAC() Dim strfac As String strfac = Range("DD2") ActiveSheet.PivotTables("Cases").PivotFields("[Dim Facility].[Facility Name]").CurrentPageName = "[Dim Facility].[Facility Name]." & Range("DD2").Text End Sub Range("DD2") changes based on the selection in a combo box. Thanks in advance. -- Jeff C Live Well .. Be Happy In All You Do |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
OLAP Pivot Function
-- Jeff C Live Well .. Be Happy In All You Do "Jeff C" wrote: I am new to working with OLAPs in Excel. I am having trouble with the following whihc will not run no matter how I modify it. Can someone point me in the right direction or tell me if this just won't work when querying OLAP Pivots. I have multiple Pivots and am trying to change the page source. Sub newFAC() Dim strfac As String strfac = Range("DD2") ActiveSheet.PivotTables("Cases").PivotFields("[Dim Facility].[Facility Name]").CurrentPageName = "[Dim Facility].[Facility Name]." & Range("DD2").Text End Sub Range("DD2") changes based on the selection in a combo box. Thanks in advance. Tried this: ActiveSheet.PivotTables("Cases").PivotFields("[Dim Facility].[Facility Name]").CurrentPageName = "[Dim Facility].[Facility Name].[" & strfac & "]" I get an "unable to get PivotTables property of the worksheet class" error can anyone help? -- Jeff C Live Well .. Be Happy In All You Do |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
OLAP Pivot Table problem | Excel Discussion (Misc queries) | |||
2007 Pivot Table or OLAP Add-in | Excel Discussion (Misc queries) | |||
Excel 2007 Pivot OLAP | Excel Discussion (Misc queries) | |||
Pivot Table - OLAP Cube | Excel Discussion (Misc queries) | |||
zero values in olap pivot table report | Excel Discussion (Misc queries) |