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
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

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.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,626
Messages
5,838,431
Members
430,547
Latest member
jopshio

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