PC Review


Reply
Thread Tools Rate Thread

Changing color of a cell, can it work like this?

 
 
kinjin.zero@gmail.com
Guest
Posts: n/a
 
      9th Dec 2006
I've got a spreadsheet with multiple workbooks, and if I set a cell
worksheet1 to be purple, I need a corresponding cell on worksheet6 to
also turn purple, and vice versa. Is there any way to automate this?
Manual colorchanging across multiple worksheets is tedious,
timeconsuming, and has lead to inconsistencies before. I'd love to
eliminate any "human error", if at all possible. Thanks!

 
Reply With Quote
 
 
 
 
Tom Ogilvy
Guest
Posts: n/a
 
      9th Dec 2006
coloring a cell doesn't fire any events, so you would need to use the
workbook level selectionchange to do your updating.

See Chip Pearson's page on events for an overview -
http://www.cpearson.com/excel/events.htm

then just use the selection change to record your rules in code.

--
Regards,
Tom Ogilvy


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I've got a spreadsheet with multiple workbooks, and if I set a cell
> worksheet1 to be purple, I need a corresponding cell on worksheet6 to
> also turn purple, and vice versa. Is there any way to automate this?
> Manual colorchanging across multiple worksheets is tedious,
> timeconsuming, and has lead to inconsistencies before. I'd love to
> eliminate any "human error", if at all possible. Thanks!
>



 
Reply With Quote
 
kinjin.zero@gmail.com
Guest
Posts: n/a
 
      9th Dec 2006
Thanks for the super-quick response! Unfortunately, I'm an Excel
semi-novice (okay, uber-novice), and have no experience with VBA
coding, so that link went directly over my head. Is there something
else I could reference to help get a better grasp on this, or even see
some sample code to stare at?

Tom Ogilvy wrote:
> coloring a cell doesn't fire any events, so you would need to use the
> workbook level selectionchange to do your updating.
>
> See Chip Pearson's page on events for an overview -
> http://www.cpearson.com/excel/events.htm
>
> then just use the selection change to record your rules in code.
>
> --
> Regards,
> Tom Ogilvy
>
>
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I've got a spreadsheet with multiple workbooks, and if I set a cell
> > worksheet1 to be purple, I need a corresponding cell on worksheet6 to
> > also turn purple, and vice versa. Is there any way to automate this?
> > Manual colorchanging across multiple worksheets is tedious,
> > timeconsuming, and has lead to inconsistencies before. I'd love to
> > eliminate any "human error", if at all possible. Thanks!
> >


 
Reply With Quote
 
Tom Ogilvy
Guest
Posts: n/a
 
      9th Dec 2006
http://www.mvps.org/dmcritchie/excel....htm#tutorials

Links to tutorials. The VBA tutorials are after the general excel
tutorials.

--
Regards,
Tom Ogilvy

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks for the super-quick response! Unfortunately, I'm an Excel
> semi-novice (okay, uber-novice), and have no experience with VBA
> coding, so that link went directly over my head. Is there something
> else I could reference to help get a better grasp on this, or even see
> some sample code to stare at?
>
> Tom Ogilvy wrote:
>> coloring a cell doesn't fire any events, so you would need to use the
>> workbook level selectionchange to do your updating.
>>
>> See Chip Pearson's page on events for an overview -
>> http://www.cpearson.com/excel/events.htm
>>
>> then just use the selection change to record your rules in code.
>>
>> --
>> Regards,
>> Tom Ogilvy
>>
>>
>> <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > I've got a spreadsheet with multiple workbooks, and if I set a cell
>> > worksheet1 to be purple, I need a corresponding cell on worksheet6 to
>> > also turn purple, and vice versa. Is there any way to automate this?
>> > Manual colorchanging across multiple worksheets is tedious,
>> > timeconsuming, and has lead to inconsistencies before. I'd love to
>> > eliminate any "human error", if at all possible. Thanks!
>> >

>



 
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
Changing the color of a cell based on the color of another cell. LATC Microsoft Excel Misc 6 4th Dec 2009 09:49 PM
Changing Cell Background Color based on data from another cell Speedy Microsoft Excel Misc 2 16th Mar 2009 04:10 PM
Re: Changing cell text color based on cell number W. Wheeler Microsoft Excel Programming 0 22nd Apr 2007 11:56 PM
Changing a cell color inside a function called by that cell Wayne Erfling Microsoft Excel Programming 8 29th Jan 2007 01:55 AM
Cell colors or text color changing when date in cell gets closer. =?Utf-8?B?Q2hhc2U=?= Microsoft Excel Worksheet Functions 5 19th Oct 2006 08:57 AM


Features
 

Advertising
 

Newsgroups
 


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