How to add multiple pages to a locked document?

C

CampingClaud

I have a 3 page word locked form. It's locked so that people can only enter
data where I want them to enter it. Now they want to have multiple pages of
the 3rd page of the document. How can I have them ask for only page 3 at the
bottom of their initial document?
 
J

Jean-Guy Marcil

CampingClaud was telling us:
CampingClaud nous racontait que :
I have a 3 page word locked form. It's locked so that people can
only enter data where I want them to enter it. Now they want to have
multiple pages of the 3rd page of the document. How can I have them
ask for only page 3 at the bottom of their initial document?

If you want the user to add "copies" of page 3, set up page 3 as an Autotext
in your template. Then create a button to call a macro like this one:

Dim rgeEnd As Range

With ActiveDocument
.Unprotect
Set rgeEnd = .Range
With rgeEnd
.Collapse wdCollapseEnd
.InsertBreak wdPageBreak
.Collapse wdCollapseEnd
.InsertAfter "Name of your AutoText"
.InsertAutoText
End With

.Protect wdAllowOnlyFormFields, True
End With


--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

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