Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Scripting Help

Changing the colour of a cell (or any formatting change) does not fire a
change event so what you are asking for is quite difficult to achieve in real
time. You need to control access to the colour pallet via code and then check
the colour. This is not too bad to do via a command button but if the user
uses any of the standard methods of colouring then the code does not run.
--
HTH...

Jim Thomlinson


"Jeremy" wrote:

I am using a color function =ColorFunction(A2,A9;AA9). Is there a way to
write a script or something like to where if the wrong color is selected you
could get a warning message or a message that states are you sure you want to
use this color?

Thank you

 
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
VBA scripting Pete Excel Discussion (Misc queries) 2 January 9th 09 03:36 AM
Scripting Stefan Excel Discussion (Misc queries) 3 November 7th 08 10:54 AM
Scripting in Excel 2007 Tinsel Excel Discussion (Misc queries) 1 February 12th 07 10:42 AM
Scripting Question Becca Setting up and Configuration of Excel 2 September 22nd 05 12:33 AM
Scripting.FileSystemObject Leif Rasmussen Excel Discussion (Misc queries) 1 January 12th 05 11:21 PM


All times are GMT +1. The time now is 05:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"