![]() |
#1
|
|||
|
|||
![]()
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.) |
#2
|
||||
|
||||
![]()
For some code to get you started, see: https://www.msofficeforums.com/word-...ify-table.html
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
Tags |
oninsert, wdpicturecontentcontrol |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Locking a Form | lafranceds | Word | 1 | 12-12-2010 11:40 AM |
locking out word | joe | Word | 0 | 11-19-2009 02:09 AM |
Locking/imbedding text | Stjamesg8 | Word | 1 | 04-12-2009 08:43 AM |
Locking Text | Boise User | Word | 0 | 01-24-2009 01:55 PM |
Locking a Word Document | Coach_Patrick | Word | 1 | 11-06-2008 12:00 PM |