Macro

T

tousuns

I need help creating a macro that will allow me to type information, example
name, date, etc. into one field on a template and copy and paste it to
another template. Thanks
 
W

Word Heretic

G'day "tousuns" <[email protected]>,

Give us a use case:

EG:
I open document 1 and complete the fields. Now I press a button and it
creates documents 2 & 3 from other templates and populates them with
data from doc 1.

If this is the case, sometimes we use VBA UserForms to collect the
initial data, sometimes we use protected word forms and include a
"Make documents" MacroButton at the bottom that calls our macro to do
things like

MyNewDoc = Documents.add MyTemplateName
MyNewDoc.Bookmarks("FirstName").range.text=FirstName


Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


tousuns reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top