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

Tip: Looking for answers? Try searching our database.

MACRO question - "Automatically open file when load Word"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jim In Minneapolis - 23 May 2008 15:06 GMT
Hi.

Does anybody know how to create a macro that will automatically open a
specific Word document . . . EVERY time I open Word (2007)?

Here's the file path:     C:\MS Word Documents\mydocument.doc

So, EVERY time I load Word . . . I want this file to display on the screen(I
use it all day long!)

Thanks so much.
Jay Freedman - 23 May 2008 15:27 GMT
> Hi.
>
[quoted text clipped - 7 lines]
>
> Thanks so much.

Don't bother with a macro -- and don't screw up your Word configuration.
Just make a desktop shortcut to the specific document, and double-click that
shortcut each morning instead of the shortcut for Word.

Making the shortcut is easy -- open the folder that contains the document
file, right-click the document, and choose Send To > Desktop.

Signature

Regards,
Jay Freedman
Microsoft Word MVP        FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

Jean-Guy Marcil - 23 May 2008 16:58 GMT
> Don't bother with a macro -- and don't screw up your Word configuration.
> Just make a desktop shortcut to the specific document, and double-click that
> shortcut each morning instead of the shortcut for Word.

Ah!  Very good!
Sometimes I can't see the forest because of the tree I'm staring at...
Jay Freedman - 24 May 2008 00:08 GMT
>> Don't bother with a macro -- and don't screw up your Word configuration.
>> Just make a desktop shortcut to the specific document, and double-click that
>> shortcut each morning instead of the shortcut for Word.
>
>Ah!  Very good!
>Sometimes I can't see the forest because of the tree I'm staring at...

I do that all the time!

--
Regards,
Jay Freedman
Microsoft Word MVP        FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.
Jean-Guy Marcil - 23 May 2008 15:34 GMT
> Hi.
>
[quoted text clipped - 5 lines]
> So, EVERY time I load Word . . . I want this file to display on the screen(I
> use it all day long!)

Put this sub in a module of your Normal.dot (or any other global template -
Stored in Word's Start Up folder):

Sub AutoExec()

Documents.Open "C:\MS Word Documents\mydocument.doc"

End Sub
Jim In Minneapolis - 23 May 2008 16:58 GMT
Great answer, Jean-Guy!

Thanks so much.  It works perfectly.

I appreciate your taking the time to help me out.

God bless you always.

Jim

> > Hi.
> >
[quoted text clipped - 14 lines]
>
> End Sub
Jean-Guy Marcil - 23 May 2008 19:23 GMT
> Great answer, Jean-Guy!
>
> Thanks so much.  It works perfectly.

Glad I could help, but really, Jay's idea is much easier to implement and
maintain...
 
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.