Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How To Stop Excel Copying Named Functions When A Worksheet Is Copied? | Excel Worksheet Functions | |||
hyperlinks stop working in PDF format | Excel Discussion (Misc queries) | |||
Inserting worksheet makes formulae stop working | Excel Discussion (Misc queries) | |||
Copied worksheet not working | Excel Discussion (Misc queries) | |||
Protected Worksheet - tabs stop working in certain areas | Excel Discussion (Misc queries) |