Thread: PAStE SPECIAL
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Tufail Tufail is offline
external usenet poster
 
Posts: 168
Default PAStE SPECIAL

thank you very much, you gave me many options thanks again.

"Dave Peterson" wrote:

Saved from a previous post:

You can get to via Tools|customize|Commands Tab|Edit category
Drag the "Paste Values" icon to your favorite toolbar (or create new customized
toolbar).

Other people have created macros that they assign to shortcut keys (and load
with their personal.xl* file so it's always available).

Something like:

Option Explicit
Sub MyPasteSpecialValues()
If Application.CutCopyMode = False Then
Beep
Else
ActiveCell.PasteSpecial Paste:=xlPasteValues
End If
End Sub

The assign it a nice shortcut key (Ctrl-Shift-V??).

Tools|Macro|Macros
Select the macro
Click Options
type in your shortcut key (case is important)
Ok out of that dialog
Cancel out of this one.

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

============
You may find that modifying your favorite toolbar is safer--if you run a macro,
you'll notice that the Edit|Undo stack is cleared. And sometimes Edit|undo is a
nice safety net.

Tufail wrote:

hello,
can i creat a macro for only pate value (like=paste special value) at the
moment i have to go paste special way again and again, it would be in
activete cells (i means i want paste in selected cells)
thanks in advance.


--

Dave Peterson