471,306 Members | 1,345 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,306 software developers and data experts.

Windows application manipulation word document

I want to create a windows application that takes a .dot file containing one
page, multiplies that page and the saves it to disk as a .doc file. That is,
I want the new document to contain a for example 5 pages that all looks the

I've managed to open a .dot file and save it as a .doc file. But how do I
multiply the page?

Any help is appreciated!

Jan 31 '06 #1
1 1483
Well, you could try doing it in Word first. Open your.dot file, start
recording a new macro, then copy the contents of your page, then paste
it at the end of the first page to create the next page-full of

Do this a couple of times, then stop recording the macro, open the VBA
editor and see what the macro-recorder wrote. That will show you which
Word objects, methods and properties you should be using from within

Jan 31 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Microsoft | last post: by
5 posts views Thread by Andrei | last post: by
1 post views Thread by Jane | last post: by
69 posts views Thread by Peter Olcott | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.