Results 1 to 3 of 3
  1. #1
    Lounger
    Join Date
    Jul 2003
    Location
    Burnaby, Br. Columbia, Canada
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Getting the UNC path for a file (VBA Word 2003)

    We use the Filename p (with path) field to return the filename and path in footers. However, using the logical drive letter makes it very unmeaningful to other 4000 users in the corporation! We'd like to have the path refer to the UNC sharenames instead. Does anyone know of a way to either change a setting in Windows XP or Word XP so the Filename field would return the UNC instead of logical drive letter, or, alternatively, we could right code to insert the filename and path if someone can point me to a line or two of VBA code that would return the UNC (I tried ActiveDocument.Path and it just returned the logical drive letter).

    Thanks!

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Getting the UNC path for a file (VBA Word 2003)

    See if the later posts in <!post=this thread,399702>this thread<!/post> are of any use.
    -John ... I float in liquid gardens
    UTC -7ąDS

  3. #3
    Lounger
    Join Date
    Jul 2003
    Location
    Burnaby, Br. Columbia, Canada
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Getting the UNC path for a file (VBA Word 2003)

    Thanks John, that's great! I'm playing around with it now, I'm sure this will solve my dilemna!

Posting Permissions

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