Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default VBA - synchronize multiple pivottable pagefilter

Hello, I am working with Excel 2007.
I found a piece of VBA code on the internet that synchronizes the pagefilter
in different pivottables. This code is only working when I am saving the
excel file in the XLS format. When I save the file in the xlsm format then
the VBA code is not working. The code is watching the change of a pivottable
page filter, when you select one item then the code is working, when you
enable the "select multiple items" filter then the code doesn't work i got an
error "runtime error 9" "Subscript out of range". the debug stops at this
line:

If Target.CubeFields(pagefld.Name).EnableMultiplePage Items = True then

the filterfield is a year-month hierarchy.

Does anyone knows why this is happening.

Thanks,

André

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I synchronize changes in multiple workbook? StevenT Excel Discussion (Misc queries) 1 October 23rd 08 05:04 PM
Multiple Worksheets & PivotTable Gator Excel Discussion (Misc queries) 1 April 15th 08 10:27 PM
Synchronize PivotTable Items [email protected] Excel Programming 0 July 11th 07 05:25 PM
synchronize multiple worksheets don Excel Worksheet Functions 2 May 3rd 05 03:58 PM
HOW DO i SYNCHRONIZE MULTIPLE WORKSHEETS IN EXCEL? saranat New Users to Excel 7 May 2nd 05 07:19 PM


All times are GMT +1. The time now is 03:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"