Format Macro Guide 02a

  • Upload
    rox31

  • View
    213

  • Download
    0

Embed Size (px)

Citation preview

  • 8/12/2019 Format Macro Guide 02a

    1/2

    Action Keyboard Shortcut Mnemonic Example

    Normal Style Ctrl + Shif + , 000 separator (Comma) 10Factor Style Ctrl + Shif + . Decimal point key 10.0000

    Increase 0s * Ctrl + . > or increase 10.0Decrease 0s * Ctrl + , < or decrease 10.00

    Percent Style Ctrl + Shif + P P or Percent 10.00%

    Toggle Date Style Ctrl + Shif + / / ofen used in dates 10 Jan 10

    Update Format Styles Ctrl + Shif + L L used in styLes

    Action Keyboard Shortcut Mnemonic ExampleBlack Ctrl + Shif + B B or Black 10

    Blue Ctrl + Shif + M M or iMport 10

    Red Ctrl + Shif + X

    X or eXport 10

    Border Ctrl + Shif + D D or unDerline 10Square Brackets Ctrl + Shif + T T or Temporary [example ]

    Action Keyboard Shortcut Mnemonic Example

    No shade Ctrl + Shif + C C or Clear 10

    Red Ctrl + Shif + S S or Stop 10

    Yellow Ctrl + Shif + Y Y or Yellow 10

    Green Ctrl + Shif + G G or Green 10

    Light Yellow Ctrl + Shif + I I or Inputs 10

    Light Gray Ctrl + Shif + O O or cOunterOws 10

    Lime Ctrl + Shif + R R or Review 10

    FORMAT MACROSNUMBER FORMATS

    FONT COLOURS, BORDERS & TEXT

    SHADING

    Action Keyboard Shortcut MnemonicJump to Precedent Ctrl + Shif + J J or Jump

    Return rom Jump Ctrl + Shif + K Next to J

    NAVIGATION

  • 8/12/2019 Format Macro Guide 02a

    2/2

    NOTES1. These macros have been:a) Designed to reside in a separate le, and not inside a spreadsheet itsel(to avoid embedding non-essential macro's within a model)b) Saved in a "hidden" state (so that this le will not be in the way when you work). To un-hide simply: Window, Unhide.To use these macros simply have this le open, albeit in a hidden state, when you are work-ing in Excel.To have it open automatically when you start Excel just point your "Tools, Options, General(Tools, Options, Advanced, General or Excel 2007/2010),At start-up open all les" directory to it (making sure there are no unwanted les reside in thesame directory).

    2. To allow the above Number Formats and related Styles (see below) to work you rstneed to import the styles into your le. You do this by:a) Unhiding this ormat macro le (Window, Unhide).

    b) From your spreadsheet import the style o this le, simply: Format, Styles, Merge, (Alt + H +J + M or Excel 2007/2010) selecting thename o this le OR simply press the shortcut key Ctrl + Shif + L.

    3. Some keys require that a cell already has a valid numeric ormat.So i you get an error message then simply rst apply Comma style, then try again.

    4. Finally please note that Excel's inbuilt "undo" memory is cleared each time you trig-ger a macro (not just these macros, but any macro).

    NormalNumber: #,##0_);(#,##0);- ; @Alignment: General, Top Aligned

    CommaNumber: #,##0_);(#,##0);- ; @Alignment: General, Top Aligned

    FactorNumber: #,##0.0000_);(#,##0.0000);- ; @Alignment: General, Top Aligned

    PercentNumber: 0.00%_);-0.00%_);- ; @Alignment: General, Top Aligned

    Date ShortNumber: dd mmm yy_);;- ; @Alignment: General, Top Aligned

    Date Long

    Number: dd mmm yyyy_);;- ; @Alignment: General, Top Aligned

    20-22 Bed ord Row, London WC1R 4JS 2012 F1F9 Ltd

    STYLESNote:Under Style includes, untick all butNumber and Alignment box whendening styles (to avoid changinganythingbut number and alignmentormat when applying styles)

    2