Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Why isn't this working? I get an "object variable or with block not
set" error. Sub MyCopy() 'rewrite Ctrl-X Selection.Copy MsgBox "Please copy [Ctrl-C] rather than cut." End Sub Sub mycut() ActiveWorkbook.CommandBars("Standard").Controls("C ut").OnAction = "MyCopy" ActiveWorkbook.CommandBars("Cell").Controls("cut") .OnAction = "MyCopy" End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excell copy action pauses for 15 second for the smallest action | Excel Discussion (Misc queries) | |||
rewrite in range | Excel Programming | |||
How can I rewrite this using an Array? | Excel Programming | |||
Custom Toolbar: ListBox on.action not working | Excel Programming |