Link to home
Start Free TrialLog in
Avatar of Andrew Crofts
Andrew CroftsFlag for Ukraine

asked on

Word 2007 VBA - Prevent drag/copy of contentcontrol

In short I have a document template that allows users to add pre defined contentcontrols and these are locked so that they cannot be edited. However if the user drags the contentcontrol it copies the content control. this is unwanted.

How can I prevent the drag/copying of contentcontrols?

TIA
ASKER CERTIFIED SOLUTION
Avatar of Computer Egghead
Computer Egghead

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Andrew Crofts

ASKER

Sorry, I missed your comment.

I have in the meantime devised my own work around.

What I have done is allowed the deletion but I am trapping the delete event and if it is the contentcontrol that is selected, I don't let the delete happen.