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

    Home » Forums » AskWoody support » Productivity software by function » Visual Basic for Applications » Getting the UNC path for a file (VBA Word 2003)

    Author
    Topic
    #411951

    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!

    Viewing 1 reply thread
    Author
    Replies
    Viewing 1 reply thread
    Reply To: Getting the UNC path for a file (VBA Word 2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: