How To Set paste Values as Default Paste in Excel

This post will guide you how to set paste values as default paste in Excel. How do I set the default paste special in Excel to paste only values when using Ctrl+v keys. when you want to copy data from a selected range of cells and then pasted it to another range with Ctrl + V keys on your keybaord, and you only want to copy cell values and without including cell formats. How to do it. you can use an Excel VBA Macro to achive the result.

Set Paste Values as Default Paste in Excel


If you only want to set paste values as default paste in your worksheet, and you can use an Excel VBA Macro to accomplish it. Just do the following steps:

Step1: open your excel workbook and then click on “Visual Basic” command under DEVELOPER Tab, or just press “ALT+F11” shortcut.
Get the position of the nth using excel vba1

Step2: then the “Visual Basic Editor” window will appear.

Step3: click “Insert” ->”Module” to create a new module.
export each sheet to csv2

Step4: paste the below VBA code  into the code window. Then clicking “Save” button.

set paste values as default paste 1

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

Step5: back to the current worksheet, click on Macros button under Code group, and the Macro dialog will open. then click Options button in the Macro dialog box.

set paste values as default paste2

Step6: you need to enter v key under the Shortbut key section in Macro Options dialog box. click on Ok button to take effect for changes.

set paste values as default paste3

Step7: Closing the Macro dialog box. and try to copy a cell with formatting style, and then paste it to antoher cell. You would see that only values will be copied.

set paste values as default paste4

set paste values as default paste5

 

Related Posts

Find and Replace Multiple Values

This post will guide you how to find and replace multiple values at once with VBA macro or using formula  in Excel. How do I make multiple find and replace in Excel. Suppose that you have a few cells containing ...

VBA Macro For VLOOKUP From Another Sheet

In the previous post, you should know that how to fix or remove the #N/A error when using VLOOKUP formula to lookup value from another sheet. And this post will show you how to use VBA code to vlookup data ...

How To Insert Comments in Protected Worksheet in Excel

This post will show you how to allow comments in a protected worksheet in Excel. You can easily to insert comments into cells in a normal worksheet in Excel, but if want to insert a comment in a worksheet that ...

How To Convert Text to Upper Cases(Using VBA) in Excel

This post will show you how to switch from lower case to upper case in Excel. and I am going to show you two different ways of converting text to upper cases using formula or VBA macro in Excel 2013,Excel ...

How To Hide Every Other Row in Excel (Using VBA)

This post will show you how to hide alternate rows or columns in Excel or how to hide every third, fourth, fifth row or column in Excel. If you want to hide every other row in your current worksheet, how ...

Comments

So empty here ... leave a comment!

Leave a Reply

Sidebar