Solved

Word user forum on infinite documents

Posted on 2014-10-11
5
106 Views
Last Modified: 2014-10-14
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
Comment
Question by:bbimis
  • 2
  • 2
5 Comments
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 40375528
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
 
LVL 45

Expert Comment

by:aikimark
ID: 40375570
please post before and after documents
0
 

Author Comment

by:bbimis
ID: 40377133
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
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 40377529
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
 

Author Closing Comment

by:bbimis
ID: 40381038
thanks
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is about my first experience with programming Arduino.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question