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

Hi David

this can (easily) be achieved using conditional formatting
select cell 1
choose
format / conditional formatting
choose formula is
type
=A1="Y"
in the box where A1 is the cell reference of your cell 2
click on the format button - set the format you want, click OK
then click on Add
choose
formula is
type
=A1="N"
click on the format button - set the format you want, click OK
click on OK again

Cheers
JulieD


"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
I need a macro that will change the color of a cell #1 when a Y o. Jack Schitt Excel Programming 0 September 7th 04 04:26 PM


All times are GMT +1. The time now is 11:11 PM.

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"