TemplateDoc Property

The Excel document to be used as a template for the creation of a new Excel document.

Syntax

Property TemplateDoc As VSExcelDocument

Parameters

None

Examples

IronPython

#Get template document
templateDoc = VSExcelDocument("D:\Data\Tabular.Transaction.Header.xlsx", FileMode.Open)
doc = VSExcelDocument(templateDoc)

#Set template document
#Don't set this property directly!


C#

//Get template document
VSExcelDocument templateDoc = new VSExcelDocument(@"D:\Data\Tabular.Transaction.Header.xlsx", FileMode.Open);
VSExcelDocument doc = VSExcelDocument(templateDoc);


//Set template document

//Don't set this property directly!

Remarks