Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Allow paste special only to one worksheet and not to all
I have the following code for allowing only Paste special to workbook I am
working, I have assigned shortcut (ctrl + v) to same. I Thought that same will work only in one sheet as I have my code in Sheet1 of workbook, but once i use CtrlV its only pasting Value not only to other sheets but also to other workbooks, Is there anyway to restrict that to one sheet/workbook. Code : Sub MyPasteValues() If Application.CutCopyMode = False Then Beep Else ActiveCell.PasteSpecial Paste:=xlPasteValues End If End Sub Thanks for your help in advance, PP |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Worksheet change macro for paste special | Excel Discussion (Misc queries) | |||
paste special excel worksheet range into outlook task body | Excel Programming | |||
Help: Reformatting worksheet: paste special challenge | Excel Discussion (Misc queries) | |||
trying to "paste special" data; why does worksheet object appear? | Excel Discussion (Misc queries) | |||
Dynamic Copy/Paste Special Formulas/Paste Special Values | Excel Programming |