• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Macro for conditional formatting

jb

Member
I have a table of data on my excel sheet named temp. I have applied conditional formatting on the table to highlight cells based on some criteria.

Now, when I move any cell value, rules for conditional formatting moves with data.

It is obvious. But I want conditional formatting to be applied on same location i.e. old location.

I found the solution that I should create a blank sheet with same table format and conditional formatting rules. And I should write a macro that will be executed when any cell value on temp sheet will be changed. This macro will copy format of table from new sheet and apply it on table on sheet temp.

I need such macro code. I have one additional requirement that manual formatting done on original table like underline or bold should be preserved.
 
I am not getting it. Where should I add $ sign?

I do not have macro code. I have solution that with macro it is possible.
 
Back
Top