FilePath Property

The file path of the Excel document.

Syntax

Property FilePath As String

Parameters

None

Examples

IronPython

#Get file path of Excel document
doc = VSExcelDocument("D:\Data\Tabular.Transaction.Header.xlsx", FileMode.Open)
myPath = doc.FilePath

#Set file path of Excel document
#Don't set this property directly!


C#

//Get file path of Excel document
VSExcelDocument doc = new VSExcelDocument(@"D:\Data\Tabular.Transaction.Header.xlsx", FileMode.Open);
string myPath = doc.FilePath;


//Set file path of Excel document

//Don't set this property directly!

Remarks