PC Review


Reply
Thread Tools Rate Thread

Copy conditional format colors to another cell

 
 
davegb
Guest
Posts: n/a
 
      26th Mar 2008
I have conditional formatting in cells A1 thru C1. I'd like to have a
macro open the conditional formatting box for A1, let me manually
enter new colors, then close the conditional formatting dialog and
have the code copy the colors for the font and background from A1 to
B1 and C1, leaving the conditions as they are in each individual cell.
I don't have a clue as to how to start getting those values from the
first cell, much less putting them into the conditional formatting for
the other cells without disturbing the formulas. This is part of a
larger macro that creates this spreadsheet. Does anyone know how to go
about this?
Thanks in advance.
 
Reply With Quote
 
 
 
 
Nigel
Guest
Posts: n/a
 
      26th Mar 2008
Try using the macro recorder, this will generate some code that you can
adapt or reuse.

--

Regards,
Nigel
(E-Mail Removed)



"davegb" <(E-Mail Removed)> wrote in message
news:e465c2a5-26b5-42fd-8ad1-(E-Mail Removed)...
>I have conditional formatting in cells A1 thru C1. I'd like to have a
> macro open the conditional formatting box for A1, let me manually
> enter new colors, then close the conditional formatting dialog and
> have the code copy the colors for the font and background from A1 to
> B1 and C1, leaving the conditions as they are in each individual cell.
> I don't have a clue as to how to start getting those values from the
> first cell, much less putting them into the conditional formatting for
> the other cells without disturbing the formulas. This is part of a
> larger macro that creates this spreadsheet. Does anyone know how to go
> about this?
> Thanks in advance.


 
Reply With Quote
 
davegb
Guest
Posts: n/a
 
      26th Mar 2008
On Mar 26, 11:56*am, "Nigel" <nigel-...@nosupanetspam.com> wrote:
> Try using the macro recorder, this will generate some code that you can
> adapt or reuse.
>
> --
>
> Regards,
> Nigel
> nigelnos...@9sw.co.uk
>
> "davegb" <daveg...@comcast.net> wrote in message
>
> news:e465c2a5-26b5-42fd-8ad1-(E-Mail Removed)...
>
>
>
> >I have conditional formatting in cells A1 thru C1. I'd like to have a
> > macro open the conditional formatting box for A1, let me manually
> > enter new colors, then close the conditional formatting dialog and
> > have the code copy the colors for the font and background from A1 to
> > B1 and C1, leaving the conditions as they are in each individual cell.
> > I don't have a clue as to how to start getting those values from the
> > first cell, much less putting them into the conditional formatting for
> > the other cells without disturbing the formulas. This is part of a
> > larger macro that creates this spreadsheet. Does anyone know how to go
> > about this?
> > Thanks in advance.- Hide quoted text -

>
> - Show quoted text -


Thanks, Nigel, but I already did that. I can copy the formatting, or
open the dialog box, but I can't figure out how to copy the color
values across that way.
 
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
copy cell color but not conditional format equations Bill Roberts Microsoft Excel Discussion 2 11th Dec 2009 12:35 AM
Conditional Format cell colors changed. Tom Veach Microsoft Excel Discussion 1 18th Jan 2008 07:58 PM
Cell colors on conditional format =?Utf-8?B?dGFua2VybWFu?= Microsoft Excel Misc 6 2nd Mar 2007 06:31 PM
format painter wont copy mixed font colors from one cell to next =?Utf-8?B?ZGdjNDk=?= Microsoft Excel Misc 6 9th Jun 2006 01:35 AM
cell conditional format with dates/colors skylinekiller Microsoft Excel Misc 3 29th Apr 2004 11:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:00 AM.