View Single Post
  #2   Report Post  
Doug Robbins
 
Posts: n/a
Default

You will have to unprotect the document to do this. That can be done with a
macro either run on exit from one of the formfields or by assigning the
macro to the keyboard or a button on a toolbar.

The macro should unprotect the document using the command
ActiveDocument.Unprotect, then it should move the selection to the cell in
the table where you want the picture inserted - best done by inserting a
bookmark in that cell and then using ActiveDocument.Bookmarks("Name of
Bookmark").Range.Select, and then it should use the command
Dialogs(wdDialogInsertPicture).Show to display the Insert Picture dialog so
that the user can select the picture. Then the macro should contain the
command ActiveDocument.Protect wdAllowOnlyFormFields NoReset to reprotect
the document.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
"a" wrote in message
...
Hello,

how can you allow the insert of an image within a table in a protected
form?

Cheers