LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Conditional Format on copied worksheet stop working

I have a "template" worksheet, which I copy to other worksheets in VBA
using the Worksheet.Copy method.

The template worksheet has conditional formatting applied to many
cells. When the copy is made, the code then puts values into certain
cells based on a database query.

The strange thing is, the conditional formating does not always kick
in. The formatting just says things like "cell value is less than 1"
set color to red, that kind of thing.

When the copy and populating the data is complete, the value may have
a 1 but also have the color (it's supposed to be normal if it's 1 or
higher).

Is there something I need to do to activate or trigger the conditional
formatting? The formatting works, because if I go to that cell and
change it to 0, then back to 1, the color is fine. It's just not
working when the code copies the template and puts the data in cells.

Any ideas?

Thanks,
Larry

BTW, Excel XP and Windows XP

 
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 To Stop Excel Copying Named Functions When A Worksheet Is Copied? Wayne[_3_] Excel Worksheet Functions 2 February 19th 09 02:15 AM
hyperlinks stop working in PDF format Angela Excel Discussion (Misc queries) 1 February 16th 09 07:16 PM
Inserting worksheet makes formulae stop working Mark Excel Discussion (Misc queries) 5 April 24th 08 07:10 PM
Copied worksheet not working [email protected] Excel Discussion (Misc queries) 0 June 15th 06 08:01 PM
Protected Worksheet - tabs stop working in certain areas bucketowater Excel Discussion (Misc queries) 0 January 26th 06 05:27 AM


All times are GMT +1. The time now is 12:02 AM.

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"