Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default VBA Bug with conditional formatting/printing?

Hi All,

I am trying to sort out a problem with conditional formatting not printing
correctly in a spreadsheet of mine. After posts on numerous groups and
forums with no answers, I tried everything I could think of to fix it, to no
avail. However, I have noticed something which I hope someone can explain
to me:

Lets say you have three sheets in a workbook with extensive conditional
formatting on +- 500 rows in each sheet. (Conditional formatting of borders
and shading depending on whether a cell contains data or not)

After entering data in the rows for each sheet, everything prints correctly
if you use File-Print Preview.

HOWEVER, if you use the immediate window in VBA editor to enter the
following commands, the formatting displays for only a portion of the
sheets. Why is this?

Sheets(Array("Result 1", "Result 2", "Result 3")).Select
Activewindow.Selectedsheets.PrintPreview

Any help or advice would be appreciated

Lawrence


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
conditional formatting and printing snazzy Excel Discussion (Misc queries) 2 November 2nd 09 06:34 PM
Conditional Formatting and Printing Jay Fincannon Excel Worksheet Functions 4 October 9th 08 01:57 AM
Formatting cells in a column with conditional formatting? shamor Excel Discussion (Misc queries) 8 May 19th 08 10:11 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


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

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

About Us

"It's about Microsoft Excel"