Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Changing color of a cell, can it work like this?

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!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Changing color of a cell, can it work like this?

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


wrote in message
ups.com...
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!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Changing color of a cell, can it work like this?

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


wrote in message
ups.com...
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!


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Changing color of a cell, can it work like this?

http://www.mvps.org/dmcritchie/excel....htm#tutorials

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

--
Regards,
Tom Ogilvy

wrote in message
ups.com...
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


wrote in message
ups.com...
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
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
Changing the color of a cell based on the color of another cell. LATC Excel Discussion (Misc queries) 7 December 4th 09 09:49 PM
Changing Cell Color Spz Excel Discussion (Misc queries) 2 December 5th 07 08:46 AM
Changing color of cell Noelsy New Users to Excel 1 December 1st 07 05:13 AM
Changing Cell Color GWOOD Excel Worksheet Functions 2 November 10th 05 05:40 PM
Changing cell color Kas Excel Programming 2 September 14th 05 09:40 PM


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