Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 04-11-2012, 10:12 PM
Catalin.B Catalin.B is offline Re: excel macro for changing the row color Windows Vista Re: excel macro for changing the row color Office 2010 32bit
Expert
 
Join Date: May 2011
Location: Iaşi, Romānia
Posts: 386
Catalin.B is on a distinguished road
Default

You do not need a macro to do that, simply use conditional formatting.
Select the entire range of cells that you want to apply this format, then go to home tab-->conditional formatting-->New Rule-->Use a formula to determine which cells to format, then in formula field enter this( assuming that your range starts from A8, and in column A is your data validation list):
=$A8="Started" , and click on format button next to preview to pick a colour to fill the cells.
Create a second rule for the other colour, determine the cells to apply the rule with the formula :
=$A8="Completed"
And so on for other conditions...
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word macro doesn't change font color Spideriffic Word VBA 8 11-04-2015 03:47 AM
Changing bar color automatically Mahmuz PowerPoint 0 03-28-2012 11:49 PM
Re: excel macro for changing the row color Changing the Color on Banded Rows ParreDL PowerPoint 2 03-20-2012 12:31 PM
Select Series Color - Macro judicial85 Excel Programming 0 03-14-2011 02:35 PM
Changing mulitple images sizes with a macro or other FraserKitchell Drawing and Graphics 1 01-05-2010 11:53 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:42 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft