Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
Hi,
I have an application which needs to communicate with MS Word to generate documents. Typically my application will want to generate 1 document at a time. The user will select a template name and then choose to build a document. My application then has the responsibility of populating the document with values. I have created document templates in MS Word which contain form fields. I have given my fields bookmark names. I am using COM automation to communicate with Word and I am using WordBasic interface to call the functions I need performed. I can start Word and give it a template to open. I then ask it for all the bookmark names. I then cycle through each bookmark and populate it via doing a 'GoTo' bookmark followed by an 'Insert'. It all seems to be working. Questions 1) what about using mail merge fields. Can I achieve the same thing using a mail merge ? Is it any easier ? Do I need to build a data source file containing all my data and then do a mail merge ? 2) the WordBasic interface is now old technology. What is a more modern approach to achieving my requirements ? 3) In general what is the best approach to having my application generate Word documents for my users ? Thanks |
#2
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
Answered in docmanagement newsgroup. In the Microsoft Word newsgroups it is
considered bad form to post separate messages to multiple newsgroups. If you need to post in more than one forum (unusual) please post a single message with both forums in the header of that single message. That way (1) your question and the various answers stay together, (2) less space is used on the news servers, (3) less bandwidth is used on the Internet, (4) you only have to check one forum for answers that appear in both forums, and (5) you won't unnecessarily annoy the people you are asking for help. This isn't meant to criticize you. We were all beginners once and the only way to learn is to try. (BTW, a number of the Microsoft newsgroups don't want posting in more than one newsgroup, period. Check the FAQ.) Take a look on the MVP FAQ website under "getting help" for more reasons ase well as other suggestions for getting answers more easily and quickly. URL: http://www.mvps.org/word/FindHelp/Posting.htm -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. wrote in message oups.com... Hi, I have an application which needs to communicate with MS Word to generate documents. Typically my application will want to generate 1 document at a time. The user will select a template name and then choose to build a document. My application then has the responsibility of populating the document with values. I have created document templates in MS Word which contain form fields. I have given my fields bookmark names. I am using COM automation to communicate with Word and I am using WordBasic interface to call the functions I need performed. I can start Word and give it a template to open. I then ask it for all the bookmark names. I then cycle through each bookmark and populate it via doing a 'GoTo' bookmark followed by an 'Insert'. It all seems to be working. Questions 1) what about using mail merge fields. Can I achieve the same thing using a mail merge ? Is it any easier ? Do I need to build a data source file containing all my data and then do a mail merge ? 2) the WordBasic interface is now old technology. What is a more modern approach to achieving my requirements ? 3) In general what is the best approach to having my application generate Word documents for my users ? Thanks |
#3
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
How do you find the "docmanagement newsgroup"? I would love to see the
answer to the original question. "Charles Kenyon" wrote: Answered in docmanagement newsgroup. In the Microsoft Word newsgroups it is considered bad form to post separate messages to multiple newsgroups. If you need to post in more than one forum (unusual) please post a single message with both forums in the header of that single message. That way (1) your question and the various answers stay together, (2) less space is used on the news servers, (3) less bandwidth is used on the Internet, (4) you only have to check one forum for answers that appear in both forums, and (5) you won't unnecessarily annoy the people you are asking for help. This isn't meant to criticize you. We were all beginners once and the only way to learn is to try. (BTW, a number of the Microsoft newsgroups don't want posting in more than one newsgroup, period. Check the FAQ.) Take a look on the MVP FAQ website under "getting help" for more reasons ase well as other suggestions for getting answers more easily and quickly. URL: http://www.mvps.org/word/FindHelp/Posting.htm -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. wrote in message oups.com... Hi, I have an application which needs to communicate with MS Word to generate documents. Typically my application will want to generate 1 document at a time. The user will select a template name and then choose to build a document. My application then has the responsibility of populating the document with values. I have created document templates in MS Word which contain form fields. I have given my fields bookmark names. I am using COM automation to communicate with Word and I am using WordBasic interface to call the functions I need performed. I can start Word and give it a template to open. I then ask it for all the bookmark names. I then cycle through each bookmark and populate it via doing a 'GoTo' bookmark followed by an 'Insert'. It all seems to be working. Questions 1) what about using mail merge fields. Can I achieve the same thing using a mail merge ? Is it any easier ? Do I need to build a data source file containing all my data and then do a mail merge ? 2) the WordBasic interface is now old technology. What is a more modern approach to achieving my requirements ? 3) In general what is the best approach to having my application generate Word documents for my users ? Thanks |
#4
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
http://www.microsoft.com/office/comm...&lang=en&cr=US
-- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "MaryT" wrote in message ... How do you find the "docmanagement newsgroup"? I would love to see the answer to the original question. "Charles Kenyon" wrote: Answered in docmanagement newsgroup. In the Microsoft Word newsgroups it is considered bad form to post separate messages to multiple newsgroups. If you need to post in more than one forum (unusual) please post a single message with both forums in the header of that single message. That way (1) your question and the various answers stay together, (2) less space is used on the news servers, (3) less bandwidth is used on the Internet, (4) you only have to check one forum for answers that appear in both forums, and (5) you won't unnecessarily annoy the people you are asking for help. This isn't meant to criticize you. We were all beginners once and the only way to learn is to try. (BTW, a number of the Microsoft newsgroups don't want posting in more than one newsgroup, period. Check the FAQ.) Take a look on the MVP FAQ website under "getting help" for more reasons ase well as other suggestions for getting answers more easily and quickly. URL: http://www.mvps.org/word/FindHelp/Posting.htm -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. wrote in message oups.com... Hi, I have an application which needs to communicate with MS Word to generate documents. Typically my application will want to generate 1 document at a time. The user will select a template name and then choose to build a document. My application then has the responsibility of populating the document with values. I have created document templates in MS Word which contain form fields. I have given my fields bookmark names. I am using COM automation to communicate with Word and I am using WordBasic interface to call the functions I need performed. I can start Word and give it a template to open. I then ask it for all the bookmark names. I then cycle through each bookmark and populate it via doing a 'GoTo' bookmark followed by an 'Insert'. It all seems to be working. Questions 1) what about using mail merge fields. Can I achieve the same thing using a mail merge ? Is it any easier ? Do I need to build a data source file containing all my data and then do a mail merge ? 2) the WordBasic interface is now old technology. What is a more modern approach to achieving my requirements ? 3) In general what is the best approach to having my application generate Word documents for my users ? Thanks |
#5
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
The answer depends entirely on how many documents are created "at once" and
whether and where you're storing the data... ************ Hope it helps! Anne Troy www.OfficeArticles.com Check out the NEWsgroup stats! Check out: www.ExcelUserConference.com wrote in message oups.com... Hi, I have an application which needs to communicate with MS Word to generate documents. Typically my application will want to generate 1 document at a time. The user will select a template name and then choose to build a document. My application then has the responsibility of populating the document with values. I have created document templates in MS Word which contain form fields. I have given my fields bookmark names. I am using COM automation to communicate with Word and I am using WordBasic interface to call the functions I need performed. I can start Word and give it a template to open. I then ask it for all the bookmark names. I then cycle through each bookmark and populate it via doing a 'GoTo' bookmark followed by an 'Insert'. It all seems to be working. Questions 1) what about using mail merge fields. Can I achieve the same thing using a mail merge ? Is it any easier ? Do I need to build a data source file containing all my data and then do a mail merge ? 2) the WordBasic interface is now old technology. What is a more modern approach to achieving my requirements ? 3) In general what is the best approach to having my application generate Word documents for my users ? Thanks |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
take yet another lesson from wordperfect "reveal codes" | Microsoft Word Help | |||
Take Mail Merge in Word back the the Mail Merge Helper 1,2,3 Form. | Mailmerge | |||
In Word, how can I see all files (*.*) in "save as"? | New Users | |||
Weird trouble with Word mail merge | Mailmerge | |||
How do I create & merge specific data base & master documents? | New Users |