• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 118
  • Last Modified:

Word user forum on infinite documents

I have a user forum made that puts the input into a pre-made document template with bookmarks.  The problem is it only does one page.  Is there a way to fire the user forum until done an make a new page accordingly? . The ultimate goal is it have a multi page document from 1 to many. Where each page I formated the same but with different input data.  Thanks.
0
bbimis
Asked:
bbimis
  • 2
  • 2
1 Solution
 
GrahamSkanRetiredCommented:
You could append a further 'page' from the template.

However the bookmark names will be the same. This means that the original bookmarks will be kept and new ones will not appear. For this reason the existing bookmarks whould be removed prior to the new block being added.    
Dim bmk As Bookmark
    
    For Each bmk In ActiveDocument.Bookmarks
        bmk.Delete
    Next bmk
    ActiveDocument.Bookmarks("\EndOfDoc").Range.InsertFile "Bookmarks.dotx"

Open in new window

0
 
aikimarkCommented:
please post before and after documents
0
 
bbimisAuthor Commented:
Graham, so will the new bookmarks be put on the new page?
so I can call the user form again and continue inputting data on a new page?
0
 
GrahamSkanRetiredCommented:
If the bookmarks are in the template, any that do not have the same names in the existing document will appear in the newly added part, so if the old (used) bookmarks in the document, there should be no problem.
0
 
bbimisAuthor Commented:
thanks
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now