Trigger a Macro when Draqg & Drop is Enabled ???

vmottert

Board Regular
Joined
Aug 30, 2003
Messages
215
Macro question: I have some worksheets that are used in many locations. As in any complicated Excel workbook, moving some input cells - as in "drag & drop" - is harmful to the workbook as it can change the formulas that reference the moved calls. So I have an autorun macro that disables drag & drop when the workbook is opened.

Still some (mostly new users) manage to enable drag & drop and get into trouble. So ...

Is it possible to trigger a macro if/when the user enables drag & drop in the Tools/Edit menu? If so I could put up a messagebox and explain why this is not a good idea right then and there. If so, what code would do that?

Regards,

Vernon
 

Some videos you may like

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

beminaga

New Member
Joined
Aug 2, 2007
Messages
7
once i had the same problem but since my data sample were not large, i tried to name the related cells (from the insert menu) and then call the cell as

'x = range("nameofthecell") '

in VBA.

i don't know if there was any solution as you mentioned.
 

Watch MrExcel Video

Forum statistics

Threads
1,127,556
Messages
5,625,496
Members
416,112
Latest member
somenka

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top