LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default Get text & background color with single button click.

Simply record a macro of you applying your formatting (be sure the Relative
Reference button is activated) then add a button to the toolbar for the
macro. If you record the macro to your "Personal Macro Book), the button
will be available to you everytime you launch excel. To add the button to a
toolbar:

1. Right mouse click on a toolbar and choose CUSTOMIZE.
2. Click on the COMMANDS tab.
3. In the CATEGORIES list, scroll down and select MACROS.
4. Click and drag either a Custom Menu Item (your button will have text on
it) or Custom Button (you'll have a picture on it) to any visible toolbar.
5. Right mouse click on the button you just added and choose ASSIGN MACRO.
6. Select the macro you recorded and click OK.
7. Click on the CLOSE button.

Viola, you're done.

"Sinner" wrote:

Hi,


Each time I have to select a cell color and a background color in
excel mostly using to highlight table headers.

Is is possible to have one button which can get me both colors (text
color & background) in single go.
Backgound color should be black.
Font color should be white.


How will I put it behind a custom button on toolbar for ready access
and use in all excel sessions.

I think VB involved.


Thx.


 
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
use option button background color to format cells Ken Excel Programming 2 February 8th 08 05:56 PM
Need help with Option Button dynamic background color Gary F Shelton Excel Discussion (Misc queries) 1 January 11th 05 05:34 PM
Changing Form Button Background Color wrkoch[_9_] Excel Programming 1 September 20th 04 11:46 PM
Changing Form Button Background Color wrkoch[_8_] Excel Programming 1 September 20th 04 10:55 PM
Changing Form Button Background Color wrkoch[_7_] Excel Programming 1 September 20th 04 09:32 PM


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