LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 169
Default Reset default command button color (grey) in a form

Hi,
I modify some BackColor of command button and depending what the user do, I
would like to put the same color as the initial color (grey). I tried the
following but it doesn't fit the grey in any Excel version (good with 2002
but not with 2003).
Me.CommandButton1.BackColor = RGB(212, 208, 200)
Is the a way to say something like:
Me.CommandButton1.BackColor = wdStandardCommandButtonColor
Thanks!
Alex
--
Alex St-Pierre
 
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
Move and reset valuse using a command Button Chris Excel Discussion (Misc queries) 0 December 29th 09 11:54 PM
How to change the default Command Button [email protected] Excel Programming 3 October 13th 06 03:02 AM
Command Button vs Form Button Bri[_3_] Excel Programming 2 February 3rd 06 08:18 AM
Establish Default Titles For Drop Windows And Reset Button travelersway Excel Discussion (Misc queries) 0 October 17th 05 12:31 PM
Establish Default Titles For Drop Windows And Reset Button travelersway New Users to Excel 0 October 17th 05 11:58 AM


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