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 / March 2008

Tip: Looking for answers? Try searching our database.

sub autoexec() doesn't!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BHW - 19 Mar 2008 17:32 GMT
Does anyone know why the following code, placed in module1 of
normal.dot, will not execute:

Sub AutoExec()
 Initialize_MyMRU
 MsgBox "Initializing MRU from AutoExec"
End Sub

Is there another place I should put it?

Thanks, Bruce
aushknotes - 19 Mar 2008 22:43 GMT
Try renaming your module1 to AutoExec.

> Does anyone know why the following code, placed in module1 of
> normal.dot, will not execute:
[quoted text clipped - 7 lines]
>
> Thanks, Bruce
BHW - 25 Mar 2008 02:36 GMT
On Mar 19, 5:43 pm, aushknotes <aushkno...@discussions.microsoft.com>
wrote:
> Try renaming your module1 to AutoExec.
>
[quoted text clipped - 9 lines]
>
> > Thanks, Bruce

Will do, thanks.
aushknotes - 19 Mar 2008 22:45 GMT
Try renaming your module1 to Autoexec.

> Does anyone know why the following code, placed in module1 of
> normal.dot, will not execute:
[quoted text clipped - 7 lines]
>
> Thanks, Bruce
Jean-Guy Marcil - 20 Mar 2008 12:52 GMT
> Does anyone know why the following code, placed in module1 of
> normal.dot, will not execute:
[quoted text clipped - 5 lines]
>
> Is there another place I should put it?

What Word version?
Is Word your eMail editor in Outlook?
If so, it shouldn't... It creates a mess as soon as you start using macros...

If not, what is
  Initialize_MyMRU
?
BHW - 20 Mar 2008 23:39 GMT
> > Does anyone know why the following code, placed in module1 of
> > normal.dot, will not execute:
[quoted text clipped - 13 lines]
>    Initialize_MyMRU
> ?

Word is my email editor in Outlook - that's the problem! Thanks.

PS MRU is a bit of code from Word Hacks that creates a long list of
recently used files.

Rate this thread:






 
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.