
Template and Macro help needed...
In that case, have you tried recording a macro in your template that does
what you want to do?
If you name that macro "AutoNew" it will run when a document based on the
template is created. If you name it AutoOpen, it will run when the template
or a document attached to the template is opened.
--
Charles Kenyon
Word New User FAQ & Web Directory:
http://www.addbalance.com/word
Legal Users' Guide to Microsoft Word (supplemented)
http://www.addbalance.com/usersguide
--------- --------- --------- --------- --------- ---------
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.
Quote:
> Actually, I'm not trying to connect it to anything. I have an application
> that will create the datasource as a delimited file (CSV) Then the app
will
> launch Word 2000 with the template. Then that template should perform the
> mailmerge to a printer then close the Word.
> > Hi Chris,
> > Have you tried recording a macro that does this?
> > Are you trying to connect it to a toolbar button or a macrobutton?
> > --
> > Charles Kenyon
> > Word New User FAQ & Web Directory:
> > http://www.addbalance.com/word
> > Legal Users' Guide to Microsoft Word (supplemented)
> > http://www.addbalance.com/usersguide
> > --------- --------- --------- --------- --------- ---------
> > 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.
> > > I'm trying to create an automated method of printing labels from a
> > template.
> > > I have a Word 2000 template file set up, data source defined (it will
> > always
> > > be the same file, i.e. C:\TEMP.TXT), output to printer,... When the
> user
> > > clicks the icon, I want to open the document tmeplate in Word,
> > automatically
> > > mailmerge to the printer, and then close the app. Anyone have any
> ideas?
> > > Chris Conner