Macro upon opening in a form

K

Kelly

Hello all!
I am using the form features in my word document. I see
that there is an option to run a macro upon opening the
document. I don't know how to create a macro, but I am
wondering if I can create a macro that gives an info box
that pops up when the document is opened that tells users
that the document is set up in a form and how to use it?
Any help is greatly appreciated as always!

Kelly :)
 
J

Jezebel

The macro side of this is easy: call the macro AutoOpen, and include a
Msgbox statement:

Public Sub AutoOpen
Msgbox "Here is some information", vbInformation, "Dialog heading"
End Sub

But be aware of the security dramas associated with distributing documents
containing macros. You'll save yourself a great deal of anguish just putting
the information in the document itself, even if it looks a little silly.
 

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