Solved

Word 2007 VBA - Prevent drag/copy of contentcontrol

Posted on 2014-02-04
2
681 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…

761 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