Number formatting

We all need to format numbers in worksheet . One of the shortcut I use is Ctrl+Shift+1. It formats number with two decimal place.

I often have to format big numbers with no decimal place frequently. Using CS1 and reducing decimal from home tab again and again takes time. As I couldn’t find any shortcut, I m sharing a single line macro for that which is saved in my personal macro.

 

Sub Numfrmt()

‘ Keyboard Shortcut: Ctrl+Shift+T

    Selection.NumberFormat = “#,##0”
    
End Sub

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s