Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Modify Toolbar Button Styles

The comma button on the formatting toolbar is set to apply the "Comma" style
and formats numbers with a comma separator and two decimals. I am trying to
apply the "Comma [0]" style to this button permanently, so that I get the
comma separator, but no decimals.

I can do this easily by modifying the "Comma" style (Format - Style - Comma
- Modify), but when I open a workbook , the style reverts back to the
original format with two decimals.

How can I apply this style change permanently to all workbooks?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Modify Toolbar Button Styles

Not with styles.

You could create your own macro that applies the formatting that you want and
create a button and use that.

But styles live in workbooks.

You could create a new workbook and change the style the way you like. Then
save it in your XLStart folder as book.xlt (a template file).

Whenever you click on the new icon on the standard toolbar, that template
workbook will be used as the basis for the new workbook. And the new workbook
will have this modified style.

And if you want to change the style of an existing workbook, you can use
format|style and modify it manually.

Or you can open a workbook with one of your modified styles and use that same
dialog (format|style) to merge into the other workbook.

saminam wrote:

The comma button on the formatting toolbar is set to apply the "Comma" style
and formats numbers with a comma separator and two decimals. I am trying to
apply the "Comma [0]" style to this button permanently, so that I get the
comma separator, but no decimals.

I can do this easily by modifying the "Comma" style (Format - Style - Comma
- Modify), but when I open a workbook , the style reverts back to the
original format with two decimals.

How can I apply this style change permanently to all workbooks?


--

Dave Peterson
Reply
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
How do I reset the Modify button for ribbon ken New Users to Excel 1 May 6th 07 09:41 PM
How to modify toolbar button in excel? Reed Excel Discussion (Misc queries) 0 March 28th 07 02:08 AM
How to modify toolbar button in excel? JLatham Excel Discussion (Misc queries) 0 March 28th 07 12:55 AM
Excel: Toolbar button for Formatting cells to date STYLES etc Pauline from Perth Aus. Setting up and Configuration of Excel 0 June 6th 06 03:46 AM
Default drawing toolbar styles? its_my_dime Excel Discussion (Misc queries) 2 December 29th 04 05:29 PM


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