Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default Conditinal Formatting

I need to apply conditional formatting to some cells. It's quite easy using
the conditinal formatting function, but I need to use code.

Column A will be changing, and depending on if there is a value or not, I
need cells on that particular row to change color.
For example, if A1 has a value, and cells A3, A5, A7 are blank, they should
change color and a message should display. Once values are input in each cell
(A3,A5,A7), each cell should return to their original color.
Thanks in advance for your help.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,726
Default Conditinal Formatting

Do it in Excel with the macro recorder on.

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Myriam" wrote in message
...
I need to apply conditional formatting to some cells. It's quite easy

using
the conditinal formatting function, but I need to use code.

Column A will be changing, and depending on if there is a value or not, I
need cells on that particular row to change color.
For example, if A1 has a value, and cells A3, A5, A7 are blank, they

should
change color and a message should display. Once values are input in each

cell
(A3,A5,A7), each cell should return to their original color.
Thanks in advance for your help.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default Conditinal Formatting

Thanks Bob.
I just realized I did not post the correct ranges.

If for example A7 has a value I need D7,F7,H7 to change colors until
those cells are entered a value
Then, let's say that there are no values from A8:A11, no color changes on
those rows.
A12 has a value, then, D12, F12 and H12 need to have a change of color...

I can't do it with macro recording...
Thanks.


"Bob Phillips" wrote:

Do it in Excel with the macro recorder on.

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Myriam" wrote in message
...
I need to apply conditional formatting to some cells. It's quite easy

using
the conditinal formatting function, but I need to use code.

Column A will be changing, and depending on if there is a value or not, I
need cells on that particular row to change color.
For example, if A1 has a value, and cells A3, A5, A7 are blank, they

should
change color and a message should display. Once values are input in each

cell
(A3,A5,A7), each cell should return to their original color.
Thanks in advance for your help.




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
Conditinal Formatting PA New Users to Excel 1 October 4th 08 01:58 AM
Conditinal Formation WT Excel Worksheet Functions 1 July 10th 08 07:37 PM
Conditinal Formatting Joe K. Excel Discussion (Misc queries) 0 October 22nd 07 02:51 AM
Conditinal formatting - AND function MariusSZ Excel Worksheet Functions 2 November 22nd 06 03:59 PM
Font size in conditinal formatting GDC Excel Discussion (Misc queries) 0 October 18th 05 06:38 PM


All times are GMT +1. The time now is 06:32 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"