Re: Word automation, best course of action
From: Wayne (MeNotYou_at_community.nospam)
Date: 08/17/04
- Next message: Paulina Lui: "Print range in Word Please help"
- Previous message: Symbeont: "RE: Managing a Database using Word / IIS"
- In reply to: Wayne: "Re: Word automation, best course of action"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 17 Aug 2004 14:01:40 -0400
Nevermind, our Microsoft Office trainer answered this for me.
To start with when adding the auto text I added it to the normal.dot and not
my template. Once I figured that out I was able to go to the organizer and
copy the auto text from one template to the other.
Everything works just fine now.
Thanks
Wayne
"Wayne" <MeNotYou@community.nospam> wrote in message
news:OmlkneEhEHA.1048@tk2msftngp13.phx.gbl...
> I have finally reached a point where I am testing the below on other
> machines. I have created a word template to use within my application, but
> when I create a word document on another machine from the Template all of
> the auto text fields get the following:
>
> Error! AutoText entry not defined.
>
> I have found that if I create the autotext fields on the other machine
they
> go away, but I don't want to have to do this on every users machine.
Anyone
> know how to auto create the autotext fields for the user?
>
> Thanks
> Wayne
>
>
>
> "Wayne" <MeNotYou@community.nospam> wrote in message
> news:uTIBUOmaEHA.712@TK2MSFTNGP11.phx.gbl...
> > it allows me to add the auto text values, but what I am seeing is that
no
> > matter what I do to the doc in Word, I can't get to the autotext fields.
I
> > have tried what you suggested, then did insert field and chose autotext
> and
> > the new value I added. When I run my app and spin through the
> > tm.AutoTextEntries the one manually added wasn't in the list.
> >
> > I have also tried the following:
> >
> > Typed some text in the doc
> > Highlighted it
> > insert --> AutoText --> New
> > clicked Ok
> > then added the field as above
> >
> > Still it did not show in the tm.AutotTextEntries.
> >
> > However, I have gotten it to work, what I have found is that I have to
do
> > one of the options above, this gives the users the ability to add the
> fields
> > to the document. In the code I have to do what you had given me with the
> > exception of adding the fields to the document. So basiclly what I need
to
> > do is the following:
> >
> > User creates Template
> > Code loads new word doc with template
> > Spin through list of supported autext values adding them to the
> > tm.AutoTextEntries
> > Spin through each AutoTextEntry setting its value
> > Save/print document
> >
> > This works, and seems to work well.
> >
> > Thanks for all the help, without it I wouldn't have gotten this far this
> > quickly.
> > Wayne
> >
> >
> >
> >
> > ""Peter Huang"" <v-phuang@online.microsoft.com> wrote in message
> > news:lKSjGrgaEHA.2352@cpmsftngxa06.phx.gbl...
> > > Hi Wayne,
> > >
> > > If you wants to do it in word, you may follow the steps below.
> > > 1. On the Tools menu, click AutoCorrect Options.
> > > 2. Select AutoText Tab
> > > 3. Choose the correct template in the Lookin combobox.
> > > 4. Now you can do the insert,add ...... operation
> > >
> > > You may have a try and let me know the result.
> > >
> > > Best regards,
> > >
> > > Peter Huang
> > > Microsoft Online Partner Support
> > >
> > > Get Secure! - www.microsoft.com/security
> > > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
> > >
> >
> >
>
>
- Next message: Paulina Lui: "Print range in Word Please help"
- Previous message: Symbeont: "RE: Managing a Database using Word / IIS"
- In reply to: Wayne: "Re: Word automation, best course of action"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|