Results 1 to 10 of 10
  1. #1
    Lounger
    Join Date
    May 2003
    Location
    Detroit, Michigan, USA
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Launching Word 97 (Word 97)

    Hi,
    Is there any way to tell word to start by loading whatever file was used last?
    Or to set it to do so automatically?

    Also, I have seen several posts where you had to start Word with a parameter such as /a or /n.
    The only way I would know how to do this is in a shortcut by changing the target line. Is there a more convenient way?
    Thanks, Al

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Launching Word 97 (Word 97)

    Regarding your second question, those are command-line switches and, as the name implies, they only take effect if used when starting that instance of Word. No way to apply them after the fact.

    Regarding your first question, if the "most recently used" list is in the correct order (rather than, say, alphabetical), it would be theoretically possible to write a startup macro (AutoExec) to open the first document on that list. Our MRUs are disabled as a feature of our document management system, so I'll leave the experimentation to others.

  3. #3
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Launching Word 97 (Word 97)

    Hi Al:
    This should do it, but I haven't tested it.

    <pre>Sub AutoExec()
    RecentFiles(1).Open
    End Sub</pre>

    Cheers,

  4. #4
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Wellington, New Zealand
    Posts
    143
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Launching Word 97 (Word 97)

    You should also be able to start Word with the most recently used file by adding "/mFile1" as a command line switch. See KB article 197849 http://support.microsoft.com/default.aspx?...kb;en-us;197849 for more details.

  5. #5
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Launching Word 97 (Word 97)

    Good find! There also is a Word 2000 version of the article, but none for Word 2002 (I wonder why?).

  6. #6
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Wellington, New Zealand
    Posts
    143
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Launching Word 97 (Word 97)

    Good question, though KB article 210565 is relevant.

  7. #7
    Lounger
    Join Date
    May 2003
    Location
    Detroit, Michigan, USA
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Launching Word 97 (Word 97)

    William, thanks.
    That's exactly what I was hoping for.
    Now since I have the peculiar notion that Ms should tell users how their programs work, and since I couldn't find anything about this in their on-line help, can you tell me how you went about finding this.
    Thanx, A

  8. #8
    Lounger
    Join Date
    May 2003
    Location
    Detroit, Michigan, USA
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Launching Word 97 (Word 97)

    Phil, thanks.
    This looks like a vb program.
    I have used vb but never stitched one into Word. How would I use this?

    Belay that, I found it in William's KB.
    But that does leave me with a question: are all macros vb programs? And are all vb programs entered as macros?
    Thanks

  9. #9
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Launching Word 97 (Word 97)

    Hi Al:
    I'm not a VBA expert, so I'll have to leave the definitions to others. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

  10. #10
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Launching Word 97 (Word 97)

    Starting with Word 97, all macros are subprocedures written in Visual Basic for Applications (VBA). More specifically, what shows up in the macro dialog are subprocedures that do not require any parameters in order to run. VBA also can be used to write a lot of other things, from functions to event handlers. You probably won't be going down that road for a bit, 'though you will see samples here in the Lounge. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •