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

Tips.Net > ExcelTips Home > Editing > Shortcut for Pasting Only Values

Shortcut for Pasting Only Values

Summary: Do you use Paste Special to quickly convert formulas to their values for large amounts of data? If you use this trick quite often, then information in this tip will help you streamline the pasting so you can do it quicker and easier. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, and Excel 2003.)

One of the most often-used commands in Excel is the Paste Special option from the Edit menu, where you can figure out exactly how you want information pasted into a worksheet. On the Paste Special dialog box, the Values selection is undoubtedly the one used the most. Since pasting only values in this manner is used so often, you might think that Microsoft would provide a shortcut key to, well, just paste values.

Unfortunately, they don't provide one. There are ways around this, however. One way is to just create a toolbar button that pastes values for you. All you need to do is follow these steps:

  1. Choose Customize from the Tools menu. Excel displays the Customize dialog box.
  2. Make sure the Commands tab is selected. (Click here to see a related figure.)
  3. In the list of Categories, select the Edit category.
  4. In the list of Commands, select Paste Values.
  5. Use the mouse to drag the Paste Values command from the Commands list to its new location on the toolbar. When you release the mouse button, the new icon appears on the toolbar.
  6. Click on Close to dismiss the Customize dialog box.

Now, whenever you want to paste just the values, you can click on the new toolbar button.

If you don't want to use the mouse to paste values, then you can use the old tried-and-true keyboard sequence to paste values: Alt+E, S, V, Enter. This sequence selects the menus and dialog box options necessary to paste values.

If you want a shorter keyboard shortcut, the best way to do it is to create a macro that does the pasting for you, and then make sure that you assign a keyboard shortcut to the macro. For instance, create the following simple macro:

Sub PasteVal()
    Selection.PasteSpecial Paste:=xlValues
End Sub

Now, follow these steps:

  1. Choose the Macro option from the Tools menu, then choose Macros from the resulting submenu. Excel displays the Macro dialog box.
  2. From the list of available macros, select the PasteVal macro you just created.
  3. Click on Options. Excel displays the Macro Options dialog box.
  4. In the Shortcut Key area, indicate the key you want used with the Ctrl key as your shortcut. For instance, if you want Ctrl+G to execute the macro, then enter a Y in the Shortcut Key area.
  5. Click on OK to close the Macro Options dialog box.
  6. Click on Cancel to close the Macro dialog box.

Now, whenever you want to paste values, all you need to do is press Ctrl+G, the macro will be run, and the values in the Clipboard will be pasted to the selected cell.

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


More Power! For some people, the prospect of creating macros can be scary. Those who conquer their fears, however, find they become much more confident and productive once they learn how to make Excel do exactly what they want. ExcelTips: The Macros is an invaluable source for learning Excel macros. You are introduced to the topic in bite-sized chunks, pulled from past issues of ExcelTips. Learn at your own pace, exactly the way you want.
 
Check out ExcelTips: The Macros today!

Helpful Links

Ask an Excel Question
Make a Comment

Tips.Net Home

ExcelTips FAQ
ExcelTips Premium

Learn Access Now

Bugs and Pests Tips
ExcelTips
Family Tips
Health Tips
Home Tips
Organizing 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.)