PC Review


Reply
Thread Tools Rate Thread

How can I change the colour of cells using a macro?

 
 
=?Utf-8?B?TWlrZSBIYWxzZXk=?=
Guest
Posts: n/a
 
      31st May 2007
Hiya,

I have a personal finance ledger going week to week. I'd like to write a
macro to change the colour of a range of cells (my bank balance) if the
number goes below a certain amount (my overdraft limit) to warn me.

How can I do this please? I have absolutely no idea how to write macros in
Excel.

Thanks in advance,

Mike
 
Reply With Quote
 
 
 
 
Nick Hodge
Guest
Posts: n/a
 
      31st May 2007
Mike

You don't need macros...check out Conditional Formatting in help or under
the Format menu (up to 2003) or on the Home tab of 2007

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
(E-Mail Removed)DTHIS
web: www.nickhodge.co.uk
blog (non-tech): www.nickhodge.co.uk/blog/

"Mike Halsey" <(E-Mail Removed)> wrote in message
news:1C6A0D8E-69A0-4AAA-947E-(E-Mail Removed)...
> Hiya,
>
> I have a personal finance ledger going week to week. I'd like to write a
> macro to change the colour of a range of cells (my bank balance) if the
> number goes below a certain amount (my overdraft limit) to warn me.
>
> How can I do this please? I have absolutely no idea how to write macros
> in
> Excel.
>
> Thanks in advance,
>
> Mike


 
Reply With Quote
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      31st May 2007
Better to use conditional formatting then. It is found under the Formatting
menu.

Here is a link to a wealth of information:

Debra Dalgleish
http://www.contextures.com/tiptech.html

--
Regards,
Tom Ogilvy


"Mike Halsey" wrote:

> Hiya,
>
> I have a personal finance ledger going week to week. I'd like to write a
> macro to change the colour of a range of cells (my bank balance) if the
> number goes below a certain amount (my overdraft limit) to warn me.
>
> How can I do this please? I have absolutely no idea how to write macros in
> Excel.
>
> Thanks in advance,
>
> Mike

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Change Cells Colour to another Jarek Kujawa Microsoft Excel Misc 0 15th May 2009 12:50 PM
Re: Change Cells Colour to another Jarek Kujawa Microsoft Excel Misc 0 15th May 2009 12:50 PM
macro for formatting/colour cells Mayte Microsoft Excel Programming 2 22nd Jan 2009 02:46 PM
I can't change the colour of cells any more. Why? tap tap Microsoft Excel Misc 1 3rd Apr 2008 12:49 AM
select cells with this/that colour with macro pswanie Microsoft Excel Programming 0 10th Mar 2008 06:04 PM


Features
 

Advertising
 

Newsgroups
 


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