Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Peter
This is just what i was looking for All the best, Roger "Peter T" wrote: TextBox1.DragBehavior = fmDragBehaviorEnabled Where/when you want to enable drag/drop is up to you, maybe at design time, the form's initialize event, or perhaps the textbox's mousedown event if say right button pressed. Then you might want to disable. Note if you allow drag with the left button onto a cell you will "move" the text. You might first need to put the text in the DataObject so you can restore it to the textbox if necessary. With right drag a popup should appear on drop. Also of course you'll need to show the form modeless if you want to drag into a cell. Regards, Peter T "Roger on Excel" wrote in message ... I use userforms for data entry and data editing. Is it possible to drag and drop text around in a userform? My userforms allow me to select text but i cant move it to another adjacent cell by dragging it. Can anyone help? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Archiving user selection from Drop Down (forms - combo box) | Excel Discussion (Misc queries) | |||
Drag and Drop | Excel Programming | |||
Drag and Drop | Excel Programming | |||
Identify when a user attempts to turn on "Allow cell drag and drop" | Excel Programming | |||
Prevent user to drag and drop | Excel Programming |