Running a macro opens Visual Basic ?

K

Kathy

I'm trying to run a macro I created in Word 97. This
macro opens a letter template that was created in Word
2003 on another networked computer. The macro should open
the template, insert today's date, then stop running.

It worked fine after its initial creation but after I
exit out of Word, then go back into Word and run the
macro, it opens the Visual Basic Editor instead and shows
a bunch of code (that I don't understand).

How can I get my macro to run w/o Visual Basic opening?
Does this have something to do with the template being
created in a different version of Word?

Thanks,
Kathy ([email protected])
 
J

JB

Kathy said:
I'm trying to run a macro I created in Word 97. This
macro opens a letter template that was created in Word
2003 on another networked computer. The macro should open
the template, insert today's date, then stop running.

It worked fine after its initial creation but after I
exit out of Word, then go back into Word and run the
macro, it opens the Visual Basic Editor instead and shows
a bunch of code (that I don't understand).

How can I get my macro to run w/o Visual Basic opening?
Does this have something to do with the template being
created in a different version of Word?

Thanks,
Kathy ([email protected])

Very possible cathy...if you have written some code that is specific to
a later version then it will throw an error and show you the VBA window.

If you can post some of your code that is highlighted I might be able to
help you.

J
 

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