Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Format the command for the Currency button

In Excel 2003, there was a way to change the commands linked to a button. So for instance, I like making my negative numbers red, so I reformatted the Currency button to make all the negative numbers red.

I now have 2007 and I am battling. I have found a way to edit the Currency button but it does not keep the setting if I close Excel.

Please can somebody advise how I can make this permanent

Thanks
Murray
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,718
Default Format the command for the Currency button

You do not have to "edit the currency button". In fact doing so is a bit
more complicated in Excel 2007.

When you click the "$" button in the Number group on the Home tab (this is
what I assume you're referring to), it applies the Accounting number format
to the selected cells. So, for the current workbook, all you have to do is
edit the Accounting style.

Since this is a bit of a hassle, run this macro instead once in each
workbook you want this change in.

Sub ChgAcctingStyle()
ActiveWorkbook.Styles("Currency").NumberFormat = _
"_($* #,##0.00_);[Red]_($* (#,##0.00);_($* ""-""??_);_(@_)"
End Sub

If you're not in the US I assume you can make whatever adjustments you need
for your locale.


--
Jim
"Murray" wrote in message
...
In Excel 2003, there was a way to change the commands linked to a button. So
for instance, I like making my negative numbers red, so I reformatted the
Currency button to make all the negative numbers red.

I now have 2007 and I am battling. I have found a way to edit the Currency
button but it does not keep the setting if I close Excel.

Please can somebody advise how I can make this permanent

Thanks
Murray


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Format the command for the Currency button

Thanks for getting back to me Jim.

Is it possible to put a "blank" button on the toolbar and assign your macro
to it, like you used to be able to in older versions of Excel?

Also, if I modify the format in a blank workbook and then save that workbook
as the Excel default, will it keep that format in all new workbooks?

Regards
Murray


"Jim Rech" wrote in message
...
You do not have to "edit the currency button". In fact doing so is a bit
more complicated in Excel 2007.

When you click the "$" button in the Number group on the Home tab (this is
what I assume you're referring to), it applies the Accounting number
format
to the selected cells. So, for the current workbook, all you have to do
is
edit the Accounting style.

Since this is a bit of a hassle, run this macro instead once in each
workbook you want this change in.

Sub ChgAcctingStyle()
ActiveWorkbook.Styles("Currency").NumberFormat = _
"_($* #,##0.00_);[Red]_($* (#,##0.00);_($* ""-""??_);_(@_)"
End Sub

If you're not in the US I assume you can make whatever adjustments you
need
for your locale.


--
Jim
"Murray" wrote in message
...
In Excel 2003, there was a way to change the commands linked to a button.
So
for instance, I like making my negative numbers red, so I reformatted the
Currency button to make all the negative numbers red.

I now have 2007 and I am battling. I have found a way to edit the Currency
button but it does not keep the setting if I close Excel.

Please can somebody advise how I can make this permanent

Thanks
Murray



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,718
Default Format the command for the Currency button

Is it possible to put a "blank" button on the toolbar

You would want to customize your QAT (Quick Access Toolbar). Ron de Bruin
has instructions he

http://www.rondebruin.nl/imageqat.htm

From the "Choose commands from" drop down you should pick Macros and point
to yours.

Any modification you make to your startup template (Book.xltx) should be
there when you create a new workbook from it.

--
Jim
"Murray" wrote in message
...
| Thanks for getting back to me Jim.
|
| Is it possible to put a "blank" button on the toolbar and assign your
macro
| to it, like you used to be able to in older versions of Excel?
|
| Also, if I modify the format in a blank workbook and then save that
workbook
| as the Excel default, will it keep that format in all new workbooks?
|
| Regards
| Murray
|
|
| "Jim Rech" wrote in message
| ...
| You do not have to "edit the currency button". In fact doing so is a
bit
| more complicated in Excel 2007.
|
| When you click the "$" button in the Number group on the Home tab (this
is
| what I assume you're referring to), it applies the Accounting number
| format
| to the selected cells. So, for the current workbook, all you have to do
| is
| edit the Accounting style.
|
| Since this is a bit of a hassle, run this macro instead once in each
| workbook you want this change in.
|
| Sub ChgAcctingStyle()
| ActiveWorkbook.Styles("Currency").NumberFormat = _
| "_($* #,##0.00_);[Red]_($* (#,##0.00);_($* ""-""??_);_(@_)"
| End Sub
|
| If you're not in the US I assume you can make whatever adjustments you
| need
| for your locale.
|
|
| --
| Jim
| "Murray" wrote in message
| ...
| In Excel 2003, there was a way to change the commands linked to a
button.
| So
| for instance, I like making my negative numbers red, so I reformatted
the
| Currency button to make all the negative numbers red.
|
| I now have 2007 and I am battling. I have found a way to edit the
Currency
| button but it does not keep the setting if I close Excel.
|
| Please can somebody advise how I can make this permanent
|
| Thanks
| Murray
|
|
|


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Format the command for the Currency button

This seriously looks like a whole lot of steps backwards to go a few short
steps forwards!

Thanks for your help though.

Regards



"Jim Rech" wrote in message
...
Is it possible to put a "blank" button on the toolbar


You would want to customize your QAT (Quick Access Toolbar). Ron de Bruin
has instructions he

http://www.rondebruin.nl/imageqat.htm

From the "Choose commands from" drop down you should pick Macros and point
to yours.

Any modification you make to your startup template (Book.xltx) should be
there when you create a new workbook from it.

--
Jim
"Murray" wrote in message
...
| Thanks for getting back to me Jim.
|
| Is it possible to put a "blank" button on the toolbar and assign your
macro
| to it, like you used to be able to in older versions of Excel?
|
| Also, if I modify the format in a blank workbook and then save that
workbook
| as the Excel default, will it keep that format in all new workbooks?
|
| Regards
| Murray
|
|
| "Jim Rech" wrote in message
| ...
| You do not have to "edit the currency button". In fact doing so is a
bit
| more complicated in Excel 2007.
|
| When you click the "$" button in the Number group on the Home tab
(this
is
| what I assume you're referring to), it applies the Accounting number
| format
| to the selected cells. So, for the current workbook, all you have to
do
| is
| edit the Accounting style.
|
| Since this is a bit of a hassle, run this macro instead once in each
| workbook you want this change in.
|
| Sub ChgAcctingStyle()
| ActiveWorkbook.Styles("Currency").NumberFormat = _
| "_($* #,##0.00_);[Red]_($* (#,##0.00);_($* ""-""??_);_(@_)"
| End Sub
|
| If you're not in the US I assume you can make whatever adjustments you
| need
| for your locale.
|
|
| --
| Jim
| "Murray" wrote in message
| ...
| In Excel 2003, there was a way to change the commands linked to a
button.
| So
| for instance, I like making my negative numbers red, so I reformatted
the
| Currency button to make all the negative numbers red.
|
| I now have 2007 and I am battling. I have found a way to edit the
Currency
| button but it does not keep the setting if I close Excel.
|
| Please can somebody advise how I can make this permanent
|
| Thanks
| Murray
|
|
|



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 to format cells in Excel 2007 (i.e. currency format)? DonR Excel Discussion (Misc queries) 2 May 25th 08 11:16 PM
Currency Style Button Jon5001 Excel Discussion (Misc queries) 4 July 4th 06 03:58 AM
why does the toolbar have a button, $ and is said currency,it giv. Terry621 Excel Worksheet Functions 1 November 14th 05 05:38 PM
Currency button Alex H Excel Worksheet Functions 1 November 2nd 05 06:22 PM
Currency Style button Anita Excel Discussion (Misc queries) 3 April 18th 05 12:48 AM


All times are GMT +1. The time now is 12:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"