Document Open

R

rub

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.
 
J

Jezebel

Put the code in an add-in or template, and call the function AutoNew or
AutoOpen (depending on quite how you create the document).
 
R

rub

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?
 
J

Jezebel

Persevere.


rub said:
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top