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: Creating a Shortcut for Pasting Values.

Creating a Shortcut for Pasting Values

by Allen Wyatt
(last updated May 19, 2017)


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. (See Figure 1.)
  3. Figure 1. The Commands tab of the Customize dialog box.

  4. In the list of Categories, select the Edit category.
  5. In the list of Commands, select Paste Values.
  6. 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.
  7. 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 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. Press Alt+F8 to display 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. (See Figure 2.)
  4. Figure 2. The Macro Options dialog box.

  5. 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 G in the Shortcut Key area.
  6. Click on OK to close the Macro Options dialog box.
  7. 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 is run, and the values in the Clipboard are pasted to the selected cell.


If you would like to know how to use the macros described on this page (or on any other page on the ExcelTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2657) 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: Creating a Shortcut for Pasting Values.

Author Bio

Allen Wyatt

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. ...


Setting Matrix Row Spacing in the Equation Editor

The Equation Editor is a tool you can use to create complex mathematical formulas and insert them in your documents. If ...

Discover More

Cycling through Colors

If you need to easily change the font colors in a group of cells, one of the esoteric commands Excel provides is the ...

Discover More

Adding a Border around Multiple Paragraphs

Word makes it very easy to apply formatting to the paragraphs in your documents. Some of that formatting may be ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (menu)

Creating New Windows

If you need to look at different parts of the same worksheet at the same time, the answer is to create windows for your ...

Discover More

Getting Rid of Everything Except Numbers

Got some numbers and letters mixed up in the same cell? You may need to get rid of those letters so you are left with ...

Discover More

Entering the Current Time

Need to enter the current time into a cell? It's easy to do using this keyboard shortcut. The shortcut is a handy one to ...

Discover More

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.


If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 5 + 3?

2016-08-23 04:53:34



2016-05-11 14:10:43

Willy Vanhaelen

Running a macro clears the undo stack. The only solution to this is doing it without a macro :-)

2016-05-10 19:27:01


The Ctrl-" didn't work for me. I also tried Ctrl-'.
The idea of assigning the added toolbar button to the number keypad is intriguing, but I'm not sure I follow your directions.

2016-05-10 19:23:19


Thanks for the tips... When I customized my Standard Toolbar I didn't notice that a PasteValues command was available. This is better than wnen I used the Paste pulldown and selected Values, but it still causes a lot of "mousing around" inefficiencies.
I created a macro with "Record a macro" but had to fine tune it in the Visual Basic editor, and it works BUT the result cannot be undone! I tried your slightly simpler macro code, but it cannot be undone either...
Alas, a lot of my PasteValues usage is to temporarily change a value to see impact elsewhere on the spreadsheet.
Any idea how to fix this limitation!?!!?

2016-01-05 01:38:46


In Excel 2010 you can use Customized Ribbon and choose command Command Not in the Ribbon, then you can release Paste Value option to your excel 2010

2015-06-10 03:11:33


Allen Wyatt

the following macro code does not work in Office 365 excel.
Sub PasteVal()
Selection.PasteSpecial Paste:=xlValues
End Sub

While debug it gives error in "Selection.PasteSpecial" string.

please help in this regards


2015-06-10 03:02:26


to Mark for comment on 20 Nov 2012, 11:25

Thanks a lot it helped a lot.
It worked

2015-05-23 07:51:30

Rajkumar Devendiran

This is very useful macro commands to increase the working speed with Excel.

2015-03-11 11:12:28


does what y,all want

2015-01-12 01:13:32



Step 1: Create the toolbar button
(instructions above)
Step 2: On the number pad type '/' then the number that is assigned to the button.

You can assign it to any number by changing the order in the bar.

I use this for a quick sum all shortcut.

2014-06-12 09:37:17


It is so usefull really, especially for 2003 and 2007 users. But only one problem is that I cant undo after i paste by using macro.

2012-11-26 07:21:01

Umihara Kawakaze

Same problem as Steve, all i want to do is when i ctrl-C and ctrl-v it will only paste values, and its not just for my computer, its for everyone that uses the sheet. MACROS ARE OUT OF QUESTION, scares my boss and everyone else onec they recive that virus warning.

2012-11-20 11:27:56


Yes, you can do what Mark suggests. Or, you could simply click the link at the end of the tip that takes you to a version of this for later, ribbon-based versions of the program.

2012-11-20 11:25:48


To replicate the above for Excel 2010 do the following:
In the Ribbon navigate to File-> Options
In to pop-up window select Customise Ribbon
In the right hand side column select which of the main tabs you’d like your shortcut to be placed (i.e. ‘Home’ or ‘Insert’)
At the bottom of this column click ‘New Group’. This will create a new item within your chosen tab called ‘ New Group (Custom)
You may want to call it something more meaningful, like ‘Paste Values’. To do this, click on the ‘Rename’ button at the bottom. In the pop-up window type in a new name in the ‘Display name’ window (bottom of the pop-up). Click ok.
With your new group selected, move now to the left hand column. From the drop down list (Choose commands from) select ‘All Commands’
Scroll down to command called’ Values’ (the one with a numbered icon ‘123’)
Select the command and click on the ‘Add’ button in the middle of the pop-up. You now should see the command icon copied across to your newly created Group.
Click ok. Your new button should be available in the Tab you’ve selected to create it in.

2012-11-01 09:07:20


You mention "ribbons." That means you are using Excel 2007 or Excel 2010. This tip wasn't designed to work with those versions of Excel. Sorry!

The older versions of Excel (pre-ribbon) were much, much more customizable than the newer, ribbon-based versions.


2012-10-31 14:23:21

Steve Patrinick

I am trying to follow your instructions for creating a toolbar button for pasting values. Your very first step is "Choose Customize from the Tools menu." However, I cannot find any "Tools" menu among the seven ribbons in Excel. If I am looking at an Excel spreadsheet with the names of the seven ribbons on top of the screen, how would I navigate to the "Tools" menu?

This Site

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.

Newest Tips

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.