Solved

Word user forum on infinite documents

Posted on 2014-10-11
5
94 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now