Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to set paste values as default paste when using Ctrl + V in Excel?

Normally, in Excel, when you copy data from one range or worksheet and paste with Ctrl + V to another, the formatting will be pasted as well by default. But, sometimes, you just want to paste as values without any formatting when you paste the data. Here, I can introduce you an easy method to set the paste values only as default paste when you using Ctrl + V in Excel.

Set paste values as default paste when using Ctrl + V with VBA code


Copy multiple ranges and paste to any place at once:

Normally, Excel doesn't support the multiple copy, but, if you have Kutools for Excel, with its Copy Ranges feature, you can quickly copy multiple selected ranges and paste them to any other location as you need.

doc delete all but selected 11

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Set paste values as default paste when using Ctrl + V with VBA code


When you paste the data as values only, you need to click the little square at the corner of your selection and choose Values option each time after pasting the data. The following VBA code can help you to change the default paste to paste values.

1. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.

2. Click Insert > Module, and paste the following code in the Module Window.

VBA code: Set paste values as default paste when using Ctrl + V

Sub PasteasValue()
Selection.PasteSpecial Paste:=xlPasteValues
End Sub

3. Then save and close the code, and press Alt + F8 keys to open the Macro dialog box.

4. In the Macro dialog, choose the used macro name PasteasValue and then click Options button, see screenshot:

doc-paste-values-default-1

5. Then in the Macro Options dialog box, under the Shortcut key section, please enter v , see screenshot:

doc-paste-values-default-2

6. And then click OK to close the Macro Options dialog, and go on closing the Macro dialog.

And now, when you paste the data with Ctrl + V, the data will be pasted as values by default.


Related article:

How to paste external content to Excel always match destination formatting?


Demo: Set paste values as default paste when using Ctrl + V in Excel

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    loki · 4 months ago
    Saved module - called "module 2" but nothing shows up in macros - no 'PasteasValue'. Seems like a step is missing?
  • To post as a guest, your comment is unpublished.
    Hakan · 6 months ago
    I want to learn if there is a way to work in a sheet, not in a module.

    If not, is there a way to work in particular sheet I determine?
  • To post as a guest, your comment is unpublished.
    Deyaa El Morsy · 9 months ago
    It is working but after pasting you cannot undo
    • To post as a guest, your comment is unpublished.
      Pankaj kumar · 7 months ago
      Same here.
      • To post as a guest, your comment is unpublished.
        skyyang · 7 months ago
        Hello, guys,
        I am sorry, may be there is no other good way for solving this problem, if you have any other good ideas, please comment here.
        Thank you!
        • To post as a guest, your comment is unpublished.
          fuat · 6 months ago
          Save as binary .xlsb,
          Then you can use ctrl+z with macros.
  • To post as a guest, your comment is unpublished.
    Ross Brown · 1 years ago
    I agree Graham, just tried this in Excel 2016. When I click the Run button in the Macro dialog, I get the error message:

    Run-tme error '1004':
    PasteSpecial method of Range class failed

    which is a shame as this really would have helped me today. I also tried Dejvid's macro below, but nothing happened when pasting from one book to another.
    • To post as a guest, your comment is unpublished.
      Benj · 10 months ago
      Make sure you have something selected in copy mode. dont even bother entering his code
  • To post as a guest, your comment is unpublished.
    Graham Gibby · 1 years ago
    Unless I missed something (and the instructions are *very* good), this does not work in Excel 2016.
    • To post as a guest, your comment is unpublished.
      fuat · 6 months ago
      I use Microsoft office Standard 2016, at it works.
  • To post as a guest, your comment is unpublished.
    Tuhin Paul · 2 years ago
    Thank You, Sir...
  • To post as a guest, your comment is unpublished.
    Dejvid · 2 years ago
    nice tip, but the macro should look like this, because the code above give you an error statement, if you push ctrl+v and you didn't previously select something with ctrl+c

    Sub PasteAsValues()
    On Error GoTo err_handler:
    Selection.PasteSpecial Paste:=xlPasteValues
    Exit Sub
    err_handler:
    End Sub
  • To post as a guest, your comment is unpublished.
    MNGREEN · 2 years ago
    The solution from Mikael seems to nice replicate the 2013 solution offered by this page in a 2016-Excel-friendly way. Unfortunately, it also replicates the inability to undo (through Ctrl-Z or other "undo" actions) a paste action while this macro is enabled.
    • To post as a guest, your comment is unpublished.
      Mikael Fangel · 2 years ago
      To get the undo function to work after you have use a macro is quite difficult unfortunately.

      Can't help you with that, sorry.
  • To post as a guest, your comment is unpublished.
    obelisk · 2 years ago
    Hi,

    solution works great but control+z not working after pasting :( . any additional help?
  • To post as a guest, your comment is unpublished.
    Jonafree · 2 years ago
    This coding does not work with the latest version of Excel 2016. Running the script gives an error code for the line Paste:=xlPasteValues
    • To post as a guest, your comment is unpublished.
      Mikael Fangel · 2 years ago
      Try using this code with Excel 2016:

      Sub Paste_Special()
      Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
      :=False, Transpose:=False
      Application.CutCopyMode = False
      End Sub
      • To post as a guest, your comment is unpublished.
        JONAFREE · 2 years ago
        Thanks Mikael, but your code didn't work. Microsoft must have changed the VBA coding language too much in their last update. Even the text "Paste:=" results in a compiling error. If there's an answer out there, it must be in a different generation of Excel VBA.
        • To post as a guest, your comment is unpublished.
          Mikael Fangel · 2 years ago
          The macro i sent is recorded in the latest version of MS Excel 2016, so maybe the problem lies within your installation?

          Besides that the sub I wrote won't work without the "Selection.PasteSpecial" part.
    • To post as a guest, your comment is unpublished.
      L · 2 years ago
      I just ran into the same problem.
  • To post as a guest, your comment is unpublished.
    mngreen · 3 years ago
    Very nice solution. This has been plaguing me for quite some time.

    Two observations ...

    1) Unsurprisingly some work environments restrict or prohibit the use (and, more particularly, the emailing/receipt) of macro-enabled documents. Is there a non-macro workaround?
    2) Ctrl+Z .... "Undo" will not reverse a "paste" made using this macro. Is there a workaround or additional code that would permit/enable/create "undo" for pastes made with the macro?

    Thanks greatly.
  • To post as a guest, your comment is unpublished.
    Soundarya b · 3 years ago
    Thank you so much :D helped a lot!