Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Get text & background color with single button click.
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. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
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. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
use option button background color to format cells | Excel Programming | |||
Need help with Option Button dynamic background color | Excel Discussion (Misc queries) | |||
Changing Form Button Background Color | Excel Programming | |||
Changing Form Button Background Color | Excel Programming | |||
Changing Form Button Background Color | Excel Programming |