Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Events... Changing the Interior Color


I have a macro that is superfluous in nature, but basically all it does
is allow the user to edit the header colors with ease. Anyway, I have
been trying to find if there is an event for when someone just changes
the color of a cell.

The Worksheet_Change does not apply for just a color change, and I
could use the Worksheet_SelectionChange, but that returns the cell that
they moved to, not the cell they were at.

Does anyone have any suggestions? Or am I SOL?

Thank you in advance,
-John


--
kraljb
------------------------------------------------------------------------
kraljb's Profile: http://www.excelforum.com/member.php...fo&userid=9955
View this thread: http://www.excelforum.com/showthread...hreadid=387760

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Events... Changing the Interior Color

There's no event that will fire when your formatting changes.

You maybe able to use the worksheet_calculate event and keep track of colors so
you can compare them after each calculation.



kraljb wrote:

I have a macro that is superfluous in nature, but basically all it does
is allow the user to edit the header colors with ease. Anyway, I have
been trying to find if there is an event for when someone just changes
the color of a cell.

The Worksheet_Change does not apply for just a color change, and I
could use the Worksheet_SelectionChange, but that returns the cell that
they moved to, not the cell they were at.

Does anyone have any suggestions? Or am I SOL?

Thank you in advance,
-John

--
kraljb
------------------------------------------------------------------------
kraljb's Profile: http://www.excelforum.com/member.php...fo&userid=9955
View this thread: http://www.excelforum.com/showthread...hreadid=387760


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default Events... Changing the Interior Color

Create a toolbar button that throws up a colour picker, an d use that to set
the header colours. You then know a format change is happening.

--
HTH

Bob Phillips

"Dave Peterson" wrote in message
...
There's no event that will fire when your formatting changes.

You maybe able to use the worksheet_calculate event and keep track of

colors so
you can compare them after each calculation.



kraljb wrote:

I have a macro that is superfluous in nature, but basically all it does
is allow the user to edit the header colors with ease. Anyway, I have
been trying to find if there is an event for when someone just changes
the color of a cell.

The Worksheet_Change does not apply for just a color change, and I
could use the Worksheet_SelectionChange, but that returns the cell that
they moved to, not the cell they were at.

Does anyone have any suggestions? Or am I SOL?

Thank you in advance,
-John

--
kraljb
------------------------------------------------------------------------
kraljb's Profile:

http://www.excelforum.com/member.php...fo&userid=9955
View this thread:

http://www.excelforum.com/showthread...hreadid=387760

--

Dave Peterson



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
Cell interior color JohnB Excel Discussion (Misc queries) 4 October 12th 06 06:07 PM
Print without Interior Color bhofsetz Excel Discussion (Misc queries) 2 July 19th 05 04:28 PM
Passing Back Color to Interior Color ExcelMonkey[_190_] Excel Programming 1 March 22nd 05 04:27 PM
No events when changing the color of a cell Robert kempers Excel Programming 4 May 4th 04 04:43 PM
Interior Cell color Pellechi Excel Programming 1 September 23rd 03 03:39 PM


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