Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel VBA - Conditional formatting
Hi again,
I have a column with data (including some empty cells as well) in m spreadsheet with a conditional formatting with the following conditio for tracing the duplicates: = countif(E:E,E1)1 The problem appears when I use a VBA code to remove the blanks from th cells of this column For each Cell in Rng Cell.Value = Trim(Cell.Value) Next After that, for the empty cells in the column the conditiona formatting of the cells changes. It seems that the cells are no longe empty. I tested with Isempty(cell.value) and the result is true. So, please help me to remove the blanks and keep the formatting. Thank you and regards, Catali -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
CONDITIONAL FORMATTING- EXCEL | Excel Discussion (Misc queries) | |||
Conditional Formatting in Excel | Excel Worksheet Functions | |||
conditional formatting in excel | New Users to Excel | |||
conditional formatting in excel | Excel Worksheet Functions | |||
Conditional formatting not available in Excel | Excel Discussion (Misc queries) |