Dialogue box templates

E

Eric

Hi All --

Just wondering if there is a spot to get generic dialogue boxes for
download. I just want to have a popp when opening a document explaining how
to print the document with an OK button. Anyone got one handy?
 
J

Jay Freedman

Eric said:
Hi All --

Just wondering if there is a spot to get generic dialogue boxes for
download. I just want to have a popp when opening a document
explaining how to print the document with an OK button. Anyone got
one handy?

That's what the MsgBox function is for. Try this (note that you'll have to
set your macro security level to Medium, and enable macros in the document
when prompted):

Sub AutoOpen()
MsgBox "These are my instructions."
End Sub

You could also build a userform with a label and a button, but that's
probably overkill.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

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