Solved

Word 2007 VBA - Prevent drag/copy of contentcontrol

Posted on 2014-02-04
2
659 Views
Last Modified: 2014-02-11
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
0
Comment
Question by:Philip Pinnell
2 Comments
 
LVL 2

Accepted Solution

by:
Computer Egghead earned 500 total points
ID: 39845740
0
 
LVL 13

Author Comment

by:Philip Pinnell
ID: 39849601
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.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My experience with Windows 10 over a one year period and suggestions for smooth operation
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now