Results 1 to 3 of 3
  1. #1
    Silver Lounger
    Join Date
    Jul 2001
    Location
    Ottawa, Ontario, Canada
    Posts
    1,609
    Thanks
    0
    Thanked 1 Time in 1 Post

    Startup path (VBA/Word/2003)

    Hello Lounge

    I have need to identify the path to the Word Startup Folder, typically:
    c:documents and settings<username>application datamicrosoftwordstartup

    The following two lines of code seem to provide the correct answer. <pre> Options.DefaultFilePath(Path:=wdStartupPath)
    Application.StartupPath</pre>


    Are there subtle differences?

    T.I.A.
    Regards
    Don

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Startup path (VBA/Word/2003)

    No, they are exactly the same - you can use them interchangeably.

  3. #3
    Silver Lounger
    Join Date
    Jul 2001
    Location
    Ottawa, Ontario, Canada
    Posts
    1,609
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Startup path (VBA/Word/2003)

    Thank you Hans.
    Regards
    Don

Posting Permissions

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