(2) Drop-down list wrapping and protecting_unprotecting a form template

G

got_more_questions

(1)I created a "formfielddrop-downlist" of my own to
circumvent the character and line restrictions using the
drop-down list from the forms tool bar. Programatically,
is there a way to get the lines in the drop-down to wrap
with the line of copy they are inserted into?

(2)I have a password protected form that I want the users
to be able to (1) unprotect to allow the use of a mail
merge and then (2) re-password protect the document upon
closing.

(a) Will the macros be passed on in the documents created
in the mail merge?
(b) In order to "protect" these created documents, can I
create an AutoClose, AutoSave, AutoSave-As macro with the
same coding to close all the loops?

This is what I have so far....
First macro for unlocking the document to allow for the
mail merge:
If ActiveDocument.ProtectionType <> wdNoProtection Then
ActiveDocument.Unprotect Password:="mypassword"
End If
Second macro saved as "Auto*"
If ActiveDocument.ProtectionType = wdNoProtection Then
ActiveDocument.Protect Password:="mypassword"
End If

Any help would be appreciated....
 
W

Word Heretic

G'day "got_more_questions" <[email protected]>,

1) only by not using that field thus pointless

2) a) no - but you can force it by having your own mailmerge button
and macro

b) whack it the end of a)

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


got_more_questions reckoned:
 

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

Top