Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How Do Configure Paste Special Selections
I have a need to force "paste special - values" to a particular worksheet.
I've diabled the paste button and would like set the default Paste Special options to be Value. Is there a method or property to do this? Private Sub Worksheet_Activate() If Application.CutCopyMode < 0 Then Application.CommandBars("Edit").Controls("&Paste") .Enabled = False <here's where Paste Special default is adjusted End If End Sub Thank you, - Pat |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How Do Configure Paste Special Selections
in the target sheet's code, trap the change event.....right click the sheet
tab, select View Code and paste this: Option Explicit Private Sub Worksheet_Change(ByVal Target As Range) If Application.CutCopyMode < 0 Then Selection.PasteSpecial xlPasteValues End If End Sub "Dreiding" wrote in message ... I have a need to force "paste special - values" to a particular worksheet. I've diabled the paste button and would like set the default Paste Special options to be Value. Is there a method or property to do this? Private Sub Worksheet_Activate() If Application.CutCopyMode < 0 Then Application.CommandBars("Edit").Controls("&Paste") .Enabled = False <here's where Paste Special default is adjusted End If End Sub Thank you, - Pat |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Special Copy, Paste Special macro | Excel Programming | |||
Paste and Paste Special No Longer Working - Excel 2003 | Excel Discussion (Misc queries) | |||
Automating copy/paste/paste special when row references change | Excel Programming | |||
Dynamic Copy/Paste Special Formulas/Paste Special Values | Excel Programming | |||
Paste to Multiple Selections | Excel Programming |