Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Jul 2002
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Return string Filename and Dir Tree how? (Word 2000)

    I'm looking at strFilename = ActiveDocument ??? to return a strFilename and directory tree as a variable which I can use for later commands (to apply paragraph styles to the active document). I can inputbox such a string, but is there a way to read the dir and filename of the currently open window's file?

    Thanks to anyone who can help.

  2. #2
    New Lounger
    Join Date
    Sep 2003
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Return string Filename and Dir Tree how? (Word 2000)

    ActiveDocument.Name will give you the name.
    ActiveDocument.Path will give you the Path.
    ActiveDocument.FullName will give you the Path and name.

    Darryl

  3. #3
    New Lounger
    Join Date
    Jul 2002
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Return string Filename and Dir Tree how? (Word 2000)

    So it does, Darryl. Thank you very, very much!

Posting Permissions

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