Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default I need a macro that will change the color of a cell #1 when a Y o.

Any reason why you want to do this by a Macro?

My first instinct would be to use conditional formatting (Format/Conditional
Formatting .. from the menu bar) on cell #1, wherein condition 1 would be
set to
=cell2_ref="Y"
(substitute actual cell2_ref or name of that cell as appropriate)
and set the foreground and background colours as desired by clicking on
Format button in the conditional format dialog box.

"David Campbell" <David wrote in message
...
I need a Macro in Excel that will change the color of cell #1 when a Y or

N
is entered into cell #2.



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
Change the Color of a Cell through a Macro JakeShipley2008 Excel Discussion (Misc queries) 4 June 9th 08 05:57 PM
Macro to change cell color Patti F Excel Discussion (Misc queries) 2 April 28th 06 07:13 PM
Macro To Change Cell Color (Continued) carl Excel Worksheet Functions 0 March 15th 06 03:10 PM
Macro To Change Cell Color When Value Changes carl Excel Worksheet Functions 4 March 14th 06 08:24 PM
Macro to change cell text color James C Excel Discussion (Misc queries) 1 August 12th 05 06:59 PM


All times are GMT +1. The time now is 01:28 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"