Document::Location property

The Location property returns the location of the current document. The location is the full path without the file name. This property is read-only.

Syntax


Property Location As String

Property value

The location of the current document.

Examples


' Retrieve the document location.
Dim strLoc As String
strLoc = objDoc.Location
MsgBox (strLoc)

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

MMCObj.h

IDL

MMCObj.idl

DLL

Mmc.exe

IID

IID_Document

See also

Document.Name

 

 

Show: