Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.
With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company.
Learn more about Allen...
Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Shortcut Key for Format Painter.
Fred loves to use the Format Painter, but doesn't like to use the mouse to use the tool. He would find it much easier to use if there were a shortcut key instead. Unfortunately, Excel doesn't provide a single shortcut key you can use for the Format Painter. You can, however, use the following steps:
In step 4 you could also press Shift+F10 rather than Alt+E. The first displays the Context menu for the cells and the other uses the regular menu system.
If you prefer a real shortcut key (only a single key press), then you will need to develop your own macro to paste only the format. The following is an example of such a macro.
Sub PasteSpecialFormats() If Application.CutCopyMode = False Then Beep MsgBox "No formatting in Clipboard" Else Selection.PasteSpecial Paste:=xlFormats End If End Sub
To use the macro, follow steps 1 through 3 as previously outlined, and then run the macro. Since the macro can be assigned to a shortcut key, you end up with an easier shortcut than what has already been discussed.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3225) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Shortcut Key for Format Painter.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!