Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Word user forum on infinite documents

Posted on 2014-10-11
5
Medium Priority
?
116 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 46

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 2000 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Loops Section Overview

916 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