Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Rick Charnes
 
Posts: n/a
Default Maybe AutoExec is wrong name for Word 2003?

I've noticed that even if I save a macro named AutoExec to my NORMAL.DOT
template, it still doesn't execute when Word starts.

Is it possible that the name AutoExec no longer works for a startup
macro in Word 2003?
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Dawn Crosier
 
Posts: n/a
Default Maybe AutoExec is wrong name for Word 2003?

Give AutoOpen() a try.

--
Dawn Crosier
Microsoft MVP
"Education Lasts a Lifetime"

This message is posted to a newsgroup. Please post replies and
questions to the newsgroup so that others can learn as well.

"Rick Charnes" wrote in
message om...
| I've noticed that even if I save a macro named AutoExec to my
NORMAL.DOT
| template, it still doesn't execute when Word starts.
|
| Is it possible that the name AutoExec no longer works for a startup
| macro in Word 2003?


  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Rick Charnes
 
Posts: n/a
Default Maybe AutoExec is wrong name for Word 2003?

In article , dlc110161
@hotmail.com says...
Give AutoOpen() a try.


AutoNew(), AutoOpen() and AutoClose() all work perfectly for me in their
respective tasks. AutoExec(), on the other hand, fails; it doesn't
execute when Word loads. Any ideas? Here's the relevant snippet from
my NORMAL.DOT:

Sub AutoExec()
MsgBox "Good morning, Rick!"
End Sub
Sub AutoNew()
MsgBox "You've just started a new document."
End Sub
Sub AutoOpen()
MsgBox "You've just opened an existing document."
End Sub
Sub AutoClose()
MsgBox "You've just closed a document."
End Sub
  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Charles Kenyon
 
Posts: n/a
Default Maybe AutoExec is wrong name for Word 2003?

I have several AutoExec procedures running on Word startup in Word 2003,
being loaded from different Add-Ins. This includes one in Normal.dot.
Another is in an Add-In in my Start folder that loads other Add-ins (not in
the Start folder). A third is in a COM Add-In that is part of WOPR. They
work.

It would be a good idea to keep your questions about this in a single
thread. You might also consider posting in a vba newsgroup rather than one
about document management.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

"Rick Charnes" wrote in message
om...
I've noticed that even if I save a macro named AutoExec to my NORMAL.DOT
template, it still doesn't execute when Word starts.

Is it possible that the name AutoExec no longer works for a startup
macro in Word 2003?



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2003 Mailmerge problem - works in Word 2000 Rick Robinson Mailmerge 2 April 28th 05 10:16 AM
How do i get Word 2003 to stop making half page white spaces when. ctrarchie Page Layout 3 January 20th 05 09:01 PM
Fonts 2003 SJH Page Layout 0 January 13th 05 02:59 PM
Exchange 2003 - Outlook 2003 - Word 2003 mail merge Micheline Mailmerge 1 December 2nd 04 11:51 AM
Acrobat writer 5.0 Compatibility with word 2003 Norman Marshall Microsoft Word Help 1 November 25th 04 11:12 AM


All times are GMT +1. The time now is 07:17 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"