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 / October 2007

Tip: Looking for answers? Try searching our database.

Message Box on document from template

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Code Numpty - 26 Oct 2007 10:34 GMT
I want to display a message box with instructions when a new file is opened
based on a template. I also want to have a check box for 'Do not display this
message again'.

Is this possible in Word?
Doug Robbins - Word MVP - 26 Oct 2007 10:51 GMT
This could be done with a userform.  To get started, see the article "How to
create a Userform" at:

http://word.mvps.org/FAQs/Userforms/CreateAUserForm.htm

To implement the checkbox requirement, you will need to use the
System.PrivateProfileString command to store the status in a file and use
that command in the autonew macro in the template to determine the stored
value and hence whether or not to display the form.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

>I want to display a message box with instructions when a new file is opened
> based on a template. I also want to have a check box for 'Do not display
> this
> message again'.
>
> Is this possible in Word?
Code Numpty - 26 Oct 2007 12:52 GMT
Even better, thanks

> This could be done with a userform.  To get started, see the article "How to
> create a Userform" at:
>
> http://word.mvps.org/FAQs/Userforms/CreateAUserForm.htm
 
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.