LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
JT JT is offline
external usenet poster
 
Posts: 234
Default Change the color of an Excel Macro button?

Looks like this is getting way over my head now. I guess I don't need a
different color on my buttons after all !! I do appreciate everyone helping
me with this. Thanks for the short description on what the difference is
between the control toolbox and the form buttons.

"Bob Phillips" wrote:

Two things.

You don't assign macros to control toolbox buttons, they have a click event
associated with them (which of course can call a macro).

On the question, if you mean can use VB code in a VBA macro, in principle
yes, although you may need to make small changes. If you mean call the
procedure in a VB executable, that is more difficult. You could wrap it all
in a DLL, link that DLL to your VBA project, and call it from there.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"JT" wrote in message
...
My next question is can I assign a macro recorded in MS Visual Basic to a
button inserted from the Contron Box Toolbar instead of the Forms Toolbar?

Thanks For your Response.
Jeff

"Dave Peterson" wrote:

If the button is from the control toolbox toolbar, then click on the

design mode
icon (on that same toolbar), rightclick on the commandbutton and select
properties. Look for Backcolor.

If the button is from the Forms toolbar, you can change the font--but

not the
backcolor.

JT wrote:

Can I change the color of Macro Buttons that Excel makes?

--

Dave Peterson







 
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
change the face color of an Excel command button Chris Leah Excel Discussion (Misc queries) 5 April 21st 23 09:03 AM
Change color of command button dhstein Excel Discussion (Misc queries) 1 May 21st 09 01:08 AM
Change Macro button color after clicked Cong Nguyen Excel Discussion (Misc queries) 2 November 30th 07 02:55 PM
Change Macro Button Color 2007 gplant Excel Discussion (Misc queries) 0 September 28th 07 05:10 PM
How do you change button color by moving over it? Preston2002 Excel Programming 1 February 25th 04 06:30 PM


All times are GMT +1. The time now is 11:24 AM.

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"