Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Code available to new doc/dot?
After my mail merge, can I (instead of opening a new word document), open a
template (that has nothing but code in it?) so that all users will have access to the code contained in this template, instead of having to know their template paths or using an addin? Or, if that's not possible, can I attach a certain template (with code) to the newly-created word document somehow? TIA |
#2
|
|||
|
|||
Opening a template (having it on your screen so that you can type in it)
does not give any other document access to the code in that template. For whatever reason, it seems that mailmerge result document does not have access to code in the attached template. This is true even if you attach the template using the templates and Add-Ins dialog.. However, all documents, including a mailmerge result document, have access to code contained in an Add-In that has been loaded. So, you can load a template as an Add-In and give your document access to the code in the template that way; simply opening it won't help. -- 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://www.mvps.org/word 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. "zSplash" zNOSPAMSplash@ gci.net wrote in message ... After my mail merge, can I (instead of opening a new word document), open a template (that has nothing but code in it?) so that all users will have access to the code contained in this template, instead of having to know their template paths or using an addin? Or, if that's not possible, can I attach a certain template (with code) to the newly-created word document somehow? TIA |
#3
|
|||
|
|||
Thanks, Charles. I guess I miswrote. I meant to ask if after I set up the
main document, is there any way to merge to a specific template, rather than to a blank word document? st. "Charles Kenyon" wrote in message ... Opening a template (having it on your screen so that you can type in it) does not give any other document access to the code in that template. For whatever reason, it seems that mailmerge result document does not have access to code in the attached template. This is true even if you attach the template using the templates and Add-Ins dialog.. However, all documents, including a mailmerge result document, have access to code contained in an Add-In that has been loaded. So, you can load a template as an Add-In and give your document access to the code in the template that way; simply opening it won't help. -- 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://www.mvps.org/word 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. "zSplash" zNOSPAMSplash@ gci.net wrote in message ... After my mail merge, can I (instead of opening a new word document), open a template (that has nothing but code in it?) so that all users will have access to the code contained in this template, instead of having to know their template paths or using an addin? Or, if that's not possible, can I attach a certain template (with code) to the newly-created word document somehow? TIA |
#4
|
|||
|
|||
Sorry, must be a Friday. My brain isn't working. I still don't understand.
When you merge you are merging to a new document based on the template of your main merge document, not to the blank word document template. After a merge, if you look to find the attached template, it will be the template of your main merge document. -- 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://www.mvps.org/word 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. "zSplash" zNOSPAMSplash@ gci.net wrote in message ... Thanks, Charles. I guess I miswrote. I meant to ask if after I set up the main document, is there any way to merge to a specific template, rather than to a blank word document? st. "Charles Kenyon" wrote in message ... Opening a template (having it on your screen so that you can type in it) does not give any other document access to the code in that template. For whatever reason, it seems that mailmerge result document does not have access to code in the attached template. This is true even if you attach the template using the templates and Add-Ins dialog.. However, all documents, including a mailmerge result document, have access to code contained in an Add-In that has been loaded. So, you can load a template as an Add-In and give your document access to the code in the template that way; simply opening it won't help. -- 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://www.mvps.org/word 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. "zSplash" zNOSPAMSplash@ gci.net wrote in message ... After my mail merge, can I (instead of opening a new word document), open a template (that has nothing but code in it?) so that all users will have access to the code contained in this template, instead of having to know their template paths or using an addin? Or, if that's not possible, can I attach a certain template (with code) to the newly-created word document somehow? TIA |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do I associate a query to SQL code in a Word 2003 mail merge | Mailmerge | |||
UPC BAR CODE | Microsoft Word Help | |||
POSTNET bar code for envelopes in Word 2002? | Microsoft Word Help | |||
Errors in Postal bar code | Mailmerge | |||
How do I use the PRINT field code to ... | Microsoft Word Help |