Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / September 2006

Tip: Looking for answers? Try searching our database.

Document Open

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rub - 23 Sep 2006 14:20 GMT
I am using accounting/management software that allows us to create
template letters in Word using merge fields.  I have one letter with
alot of VBA coding in it.  When I create the letter I have to save it
first to my hard drive to get the VBA to work correctly.  The
triggering event is Document_Open.  If I just open the letter without
first saving it, it will only show the merge fields the document picked
up but not the changes caused by the VBA.  Anyone know of anything I
could put in the template to eliminate the need to save it first.
Jezebel - 23 Sep 2006 15:22 GMT
Put the code in an add-in or template, and call the function AutoNew or
AutoOpen (depending on quite how you create the document).

>I am using accounting/management software that allows us to create
> template letters in Word using merge fields.  I have one letter with
[quoted text clipped - 4 lines]
> up but not the changes caused by the VBA.  Anyone know of anything I
> could put in the template to eliminate the need to save it first.
rub - 24 Sep 2006 16:49 GMT
Thanks

> Put the code in an add-in or template, and call the function AutoNew or
> AutoOpen (depending on quite how you create the document).
[quoted text clipped - 7 lines]
> > up but not the changes caused by the VBA.  Anyone know of anything I
> > could put in the template to eliminate the need to save it first.
rub - 25 Sep 2006 22:18 GMT
I tried both with no sucess.
I tried the template and because it was a .dot the
accounting/management system would allow me to upload it.  I got a
message that it was not a ms document so it wouldn't take it.

I also tried the addin and I am not sure I did it correctly but I got
the same message so I think I did it correctly.
Any ideas?

> Put the code in an add-in or template, and call the function AutoNew or
> AutoOpen (depending on quite how you create the document).
[quoted text clipped - 7 lines]
> > up but not the changes caused by the VBA.  Anyone know of anything I
> > could put in the template to eliminate the need to save it first.
Jezebel - 26 Sep 2006 00:10 GMT
Persevere.

>I tried both with no sucess.
> I tried the template and because it was a .dot the
[quoted text clipped - 16 lines]
>> > up but not the changes caused by the VBA.  Anyone know of anything I
>> > could put in the template to eliminate the need to save it first.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.