Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-24-2013, 11:59 AM
fumei fumei is offline Auto message box on open (when using template) Windows 7 64bit Auto message box on open (when using template) Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default


Quote:
I figured out how to create a macro to have an informational message box pop up when you open up my word doc, however this particular doc is a template, and so it only works when you right click and choose open, vs if you were to double click to open up the actual template like normal, of which I have multiple boxes pop up to automatically fill in fields throughout the document. (Probably confusing)...
Yes it is a little confusing. First of all - "so it only works when you right click and choose open" - DON"T DO THIS. It goes against the whole purpose of a template. Users should not open template files themselves.

Document_New is the vehicle by which a template (a dotm) performs actions before presenting a newly created document. That most definitely includes giving the user fields to fill out. Then, when the user is finished, the new document is presented with (I assume) the data from the filled in fields.

IMO, it is rare that AutoOpen, or AutoNew, or even AutoExec are the way to go. That is very old school.
Reply With Quote
  #2  
Old 04-24-2013, 01:18 PM
Drizz Drizz is offline Auto message box on open (when using template) Windows 7 64bit Auto message box on open (when using template) Office 2010 64bit
Novice
Auto message box on open (when using template)
 
Join Date: Apr 2013
Posts: 4
Drizz is on a distinguished road
Default

Hi fumei,
I don't have anyone right click to open the template, as obviously that defeats the purpose. I only meant to say that it only worked when I did that and was why I needed autoexec vs autoopen.

Anyhow, this is a template that someone would double click on (or in this case single click, as there is a link on our intranet that they click and a dialog box prompts them to open the template). Then, a field window pops up where they enter information, they click ok, then another field pops up where they enter more, etc etc for several pieces of information that fill in throughout the document, then they can save the new doc anywhere (so yes, it creates a new doc)

I am needing a message box to pop up when they open the template and BEFORE the fields pop up because if they don't meet the requirements in the message box, they are advised to not use the template at all.

P.S. I am VERY green at this side of word, so don't be afraid to speak in stupid people terms and tell me what to do step by step ;-) That being said, is there a problem that this is saving as a dotx vs dotm? I don't know what's new/old as I never use macros etc etc so talk dumb and if nothing can be done, let me know.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Message from template not saving nigh Outlook 0 01-11-2012 03:11 AM
Auto message box on open (when using template) Auto reply when receiving a specific message Emerogork Outlook 2 09-06-2011 06:35 PM
30 seconds to open an e-mail message Emerogork Office 0 07-21-2011 08:49 AM
Pop Up Message on Open Emma Samm Word 0 12-20-2010 02:38 PM
Can't Copy and Paste until new message is open tabletop Outlook 0 12-04-2009 11:38 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:25 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft