View Single Post
 
Old 10-25-2012, 11:21 AM
remodel remodel is offline Windows 7 64bit Office 2007
Novice
 
Join Date: Oct 2012
Posts: 2
remodel is on a distinguished road
Default Help with locking wdPictureContentControl

I am creating a document that I have multiple picture content controls, and I want to write a macro that will change the properties of each control once the photo is inserted.
Example: User clicks on icon in center of control, *dialog box opens* user chooses file to insert, user clicks "Insert"
At this point I need a macro that changes the properties of the content control to lock the control from editing, and lock it from deletion.
I understand that these options are available from the properties in the designer tab, but I want it automatic on "Insert".

I appreciate any assistance that can be provided.

FYI - I have each content control with it's own individual naming convention so that a script will work for a particular named control instead of the entire document. (Named - 1, 2, 3, etc.)
Reply With Quote