+ Reply to Thread
Results 1 to 5 of 5

change the face color of an Excel command button

  1. #1
    Chris Leah
    Guest

    change the face color of an Excel command button

    How can I change the face color of a command button in Excel 2003
    (View-Toolbars-Forms)?
    Changing font color is easy, but I don't know enough about VBA to change the
    button color.


  2. #2
    Chip Pearson
    Guest

    Re: change the face color of an Excel command button

    You need to use the CommandButton object from the Controls
    toolbar, not the Forms toolbar.


    --
    Cordially,
    Chip Pearson
    Microsoft MVP - Excel
    Pearson Software Consulting, LLC
    www.cpearson.com


    "Chris Leah" <Chris [email protected]> wrote in
    message
    news:[email protected]...
    > How can I change the face color of a command button in Excel
    > 2003
    > (View-Toolbars-Forms)?
    > Changing font color is easy, but I don't know enough about VBA
    > to change the
    > button color.
    >




  3. #3
    Chris Leah
    Guest

    RE: change the face color of an Excel command button



    "Chris Leah" wrote:

    > How can I change the face color of a command button in Excel 2003
    > (View-Toolbars-Forms)?
    > Changing font color is easy, but I don't know enough about VBA to change the
    > button color.
    >

    Many thanks, Chip, but now it's difficult to simply attach a recorded macro?
    Cheers
    Chris Leah

  4. #4
    Earl Kiosterud
    Guest

    Re: change the face color of an Excel command button

    Chris,

    Double-click the command button while in Design Mode. It'll take you to the
    module for that button. Put your code in the CommandButton1_Click() sub.

    Somehow your answer to Chip's post got posted as a reply to your original
    post, not his reply.
    --
    Earl Kiosterud
    www.smokeylake.com/
    -------------------------------------------

    "Chris Leah" <[email protected]> wrote in message
    news:[email protected]...
    >
    >
    > "Chris Leah" wrote:
    >
    >> How can I change the face color of a command button in Excel 2003
    >> (View-Toolbars-Forms)?
    >> Changing font color is easy, but I don't know enough about VBA to change
    >> the
    >> button color.
    >>

    > Many thanks, Chip, but now it's difficult to simply attach a recorded
    > macro?
    > Cheers
    > Chris Leah




  5. #5
    Chris Leah
    Guest

    Re: change the face color of an Excel command button



    "Earl Kiosterud" wrote:

    > Chris,
    >
    > Double-click the command button while in Design Mode. It'll take you to the
    > module for that button. Put your code in the CommandButton1_Click() sub.
    >
    > Somehow your answer to Chip's post got posted as a reply to your original
    > post, not his reply.
    > --
    > Earl Kiosterud
    > www.smokeylake.com/
    > -------------------------------------------
    >
    > "Chris Leah" <[email protected]> wrote in message
    > news:[email protected]...
    > >
    > >
    > > "Chris Leah" wrote:
    > >
    > >> How can I change the face color of a command button in Excel 2003
    > >> (View-Toolbars-Forms)?
    > >> Changing font color is easy, but I don't know enough about VBA to change
    > >> the
    > >> button color.
    > >>

    > >

    >
    > Many thanks - problem solved

    Chris Leah

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1