bottom
Great ExcelTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > ExcelTips Home > Formatting > Cell Formatting > Shortcut Key for Format Painter

Shortcut Key for Format Painter

Summary: The Format Painter tool is very handy when you want to quickly duplicate formatting form one place to another. The tool virtually requires the use of the mouse, however, as there is no built-in shortcut to use it. This tip describes some of the ways you can use the Format Painter or copy formatting by using the keyboard only. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, Excel 2003, and Excel 2007.)

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:

  1. Select the cell from which the format is to be copied.
  2. Press Ctrl+C. This copies the cell to the Clipboard.
  3. Select the cells to receive the format.
  4. Press Alt+E, S, T, Enter. This sequence displays the Paste Special dialog box and chooses to paste only the format.

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 are using Excel 2007, then you really should use Shift+F10, as the old menu system of Excel has been drastically changed.

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.

Tip #3225 applies to Microsoft Excel versions: 97 | 2000 | 2002 | 2003 | 2007


Step Up and Take Control! Subscribers to ExcelTips know just how valuable a resource it is. ExcelTips Premium provides twice the number of exceptional, easy-to-understand tips every week in an ad-free newsletter, as well as substantial discounts on ExcelTips archives and e-books.
 
Check out ExcelTips Premium today!

Helpful Links

Ask an Excel Question
Make a Comment

Tips.Net Home
Vital News Home

ExcelTips FAQ
ExcelTips Premium

Learn Access Now

Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips

Advertise on the
ExcelTips Site

 

Great Info!

Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)