Inserting Photos into a protected form

  • Thread starter Thread starter atmusky
  • Start date Start date
A

atmusky

Using Word/Office 2003.

Have a protected form that I would like the Users to be able to insert
a photo into one of the form fields. Does anyone know how I can do
this without removing the forms protection?

Thanks,

atmusky
 
I know it can be done and that there is a web page that tells how, but I
can't find it. Here is how I would start:

Have a field with an on-entry macro attached. This field does not hold the
photo, but activates the macro to insert, change it.

The macro would:
Pop up a message box asking if the person wants to change / insert a photo
from a file.
If yes, unprotect the form and display the Word dialog box to insert a
picture.
Get the name of the file from the dialog box (don't execute it).
Insert the picture inside the bookmark, preserving the bookmark.
Reprotect the form, not resetting the data.

Instead of an on-entry macro to a field, you could have a custom toolbar in
your template with a button / menu choice to run your macro.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide


--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.


(This will require that the photo be in a separate file that the user can
find.)
 
If you go to Tools-Protect Document then you have a dropdown list showing the
editing restrictions. If you tick the box then click on the arrow there is
something there regarding filling in forms. I'm afraid I don't have any
experience regarding forms so I don't know if this will help. Also, if you
highlighted the part you would like the user to add the picture then go to
Tools-Protect Document then click 'Read Only' under the editing restrictions.
Once you do this you should have another option come up asking you if you
would like the selected area to be made available for others to change. Hope
this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top