Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 298
Default Pivot Table Errors

Hi,

I am using a pivot table with date ranges being modifiued by VBA.
The code I use to alter the date ranges is:

With ActiveSheet.PivotTables("PivotTable1").PivotFields ("Activity Date")
.PivotItems("<" & Start_Date).Visible = False
.PivotItems("" & End_Date).Visible = False
End With

Whilst this works on my machine, and also the guy sitting next to me, it
does not work on several other machines...all with Excel 2007 installed.

Start_Date and End_Date are variables.

Any clues?
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
password protected file with pivot table errors טל Charts and Charting in Excel 0 November 25th 07 08:10 PM
Weird pivot table errors JohnC Excel Discussion (Misc queries) 0 February 21st 07 02:22 PM
Excel Pivot Table errors [email protected] Excel Worksheet Functions 1 October 18th 05 01:32 PM
Removing errors from a Pivot table Mighty Magpie Excel Discussion (Misc queries) 2 February 3rd 05 03:15 PM
ODBC errors with new pivot table John Michl[_2_] Excel Programming 0 December 19th 03 04:13 PM


All times are GMT +1. The time now is 04:46 AM.

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"