Home |
Search |
Today's Posts |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"Jim Cone" wrote in message
... Alan, You could try playing around with the following code. Note what happens when a multi-cell selection is moved... '--------------------------------------------------------- 'Code goes in the worksheet code module. Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Application.CellDragAndDrop Then Application.EnableEvents = False Application.Undo Application.CellDragAndDrop = False Application.EnableEvents = True End If End Sub '--------------------------------------------------------- Regards, Jim Cone San Francisco, CA Thanks Jim - I like that. Alan. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Turn off "CALCULATE" on bottom of Excel worksheet. near "Ready" | Excel Discussion (Misc queries) | |||
Shortcut to switch from "fill down" to "copy" with mouse drag | Excel Discussion (Misc queries) | |||
how can I disable "cutting cells" and "drag and drop "in excel ? | Excel Worksheet Functions | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
When I drag and drop overwrites my notes, Options ''Alert beforeoverwriting cell" | Excel Discussion (Misc queries) |