Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login

POZE MRRRR'S FORUM (VIEW ONLY)

Nu sunteti logat.
Nou pe simpatie:
Sophya 25 ani
Femeie
25 ani
Bucuresti
cauta Barbat
25 - 54 ani
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides / [EXCEL] Always Paste Values when Pressing CTRL+V Moderat de TRaP, TonyTzu
Autor
Mesaj Pagini: 1
TRaP
Moderator

Inregistrat: acum 6 ani
Postari: 787
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 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.

Sub PasteAlwaysAsValue()
   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 PasteAlwaysAsValue and then click Options button.

5. Then in the Macro Options dialog box, under the Shortcut key section, enter the letter v.

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.

Source:


pus acum 3 ani
   
Pagini: 1  

Mergi la