Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

vba pivot refreshconditional for

Forum home » Delegate support and help forum » Microsoft Office general help » VBA Pivot Refresh/Conditional Formatting

VBA Pivot Refresh/Conditional Formatting

ResolvedVersion 2007

Adam has attended:
Upgrade to Office 2007 course
Team Performance Management course

VBA Pivot Refresh/Conditional Formatting

A spreadsheet built in excel 2003, contains some code to refresh and conditionally format 2 pivot tables based on a validation list in another sheet. When opened in 2007, some of the pivot fields are filled black with black text (ie. unreadable but still there) but in 2003 this doesn't happen. Any ideas? There is also conditional formatting in the code, I suspect that this is what is causing it as the other pivot is fine, but can't see anything immediately obvious.

RE: VBA Pivot Refresh/Conditional Formatting

Hi Adam, welcome to the forum. I've done some digging to see if this problem has been replicated elsewhere and come across one similar instance:

http://social.answers.microsoft.com/Forums/en-US/excelchart/thread/f295aa70-96d1-4ef9-a3a8-3f8a040dcf5b

If this is VBA related I suggest "stepping through" the code line by line to identify which line is going wrong (go into the code and press F8 repeatedly, it will action the code a line at a time). The only other way to work around this would be to build in a subroutine to reformat the mis-formatted cells which would be tedious but successful!

Hope this helps,

Anthony

Wed 7 Jul 2010: Automatically marked as resolved.

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Microsoft Office tip:

CLOSE and SAVE ALL

Instead of closing or savng all your files one by one, you can do this in one step by holding the SHIFT key whilst clicking on the FILE menu.

You will then see a Close All and Save All option in the menu

View all Microsoft Office hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.