PivotTables
(1)
PivotFields
(1)
PivotItems
(1)
ActiveSheet.PivotTables
(1)
Excel 2007
(1)
Database
(1)
PivotTable2
(1)
RichWhat
(1)

Pivot Table Help

Asked By Rich
03-Feb-10 01:03 AM
Help!
I have written some code which manipulates Excel 2007 pivot tables.  The
program works fine on my machine and on the guy that sits next to me.
But...3 other people in the organisation have issues with the spreadsheet
crashing.
The code is around this part:

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


Where 'Start_Date' and 'End_Date' are variables based on data entry.

As I said...works fine on my machine and the second machine I tested it on
but not on the others.  Everyone is working on Excel 2007.

What I am trying to do is limit the data input to only show values between
start and end date...

Any clues or fixes out there?

Hi RichWhat error message is it giving when it crashes?

Roger Govier replied to Rich
03-Feb-10 04:10 AM
Hi Rich

What error message is it giving when it crashes?

--
Regards
Roger Govier


__________ Information from ESET Smart Security, version of virus signature database 4830 (20100203) __________

The message was checked by ESET Smart Security.

http://www.eset.com
Post Question To EggHeadCafe