• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Favourite numeric format

jdmaybee

New Member
I like the custom numeric format #,###.00_);[RED](#,###.00);0.00

Is there any way I can set this up on my toolbar like the , format?
 
In 2007/10 you can add a custom button to the Ribbon/QAT and apply a macro to it


The macro will be as simple as

[pre]
Code:
Sub MyFormat()
Selection.NumberFormat = "#,###.00_);[Red](#,###.00);0.00"
End Sub
[/pre]
Copy the above macro to a code sheet in your personal.xlsx file


To add a macro

Right Click on QAT

Customize Quick Access Toolbar

Choose Commands from Macros

Find your Macro "MyFormat"

Add >>

Move up/down to suit

Select Modify and apply a new icon to your macro


Enjoy
 
Back
Top