Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Need help with Macro

I have a spreadsheet that we use to track budget numbers. I need a
macro that will change the text color to red for any cell that is less
than the specified budget number. EX: Cell C5 is 180.00. I want any
cells that I specify, (say C6-C12), to be red if the value is less
than C5. It sounds simple, but I just cannot seem to get it. HELP!!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Need help with Macro

Use conditional formatting.

Select the cells, go to FormatConditional Formatting, change condition 1 to
Formula Is, and ad a formula =$C5C6, click font, select a colour from the
patterns tab, and exit

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Chuck Scott" wrote in message
m...
I have a spreadsheet that we use to track budget numbers. I need a
macro that will change the text color to red for any cell that is less
than the specified budget number. EX: Cell C5 is 180.00. I want any
cells that I specify, (say C6-C12), to be red if the value is less
than C5. It sounds simple, but I just cannot seem to get it. HELP!!!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Need help with Macro

This is the ideal place to use conditional formating.
Just go to Format|Conditional formating and set it up as
you want.

-----Original Message-----
I have a spreadsheet that we use to track budget

numbers. I need a
macro that will change the text color to red for any cell

that is less
than the specified budget number. EX: Cell C5 is

180.00. I want any
cells that I specify, (say C6-C12), to be red if the

value is less
than C5. It sounds simple, but I just cannot seem to get

it. HELP!!!
.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Need help with Macro

Use conditional formatting... no VBA required


"Chuck Scott" wrote in message
m...
I have a spreadsheet that we use to track budget numbers. I need a
macro that will change the text color to red for any cell that is less
than the specified budget number. EX: Cell C5 is 180.00. I want any
cells that I specify, (say C6-C12), to be red if the value is less
than C5. It sounds simple, but I just cannot seem to get it. 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
Macro recorded... tabs & file names changed, macro hangs Steve Excel Worksheet Functions 3 October 30th 09 11:41 AM
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort Gavin Excel Worksheet Functions 0 May 17th 07 01:20 PM
Macro needed to Paste Values and prevent Macro operation thunderfoot Excel Discussion (Misc queries) 1 June 11th 05 12:44 AM
Start Macro / Stop Macro / Restart Macro Pete[_13_] Excel Programming 2 November 21st 03 05:04 PM


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