3.7.5.105.16 wks.DC.Import()

Syntax

wks.DC.Import()

Access

Read/write
numeric

Description

Import data into current sheet, without opening the Import Options dialog.

Examples

EX1

//This example shows how to import a CSV file by Data Connector
newbook;
wbook.dc.add("CSV");
wks.dc.source$=System.path.program$+"Samples\Batch Processing\T275K.csv";
wks.dc.import();

EX2

//Import data to all DC-containing books in the Project Explorer (PE) folder
doc -ef LBC { wks.dc.import(); };

EX3

//Import data to all DC-containing books in the entire project (all PE folders)
doc -e LBC { wks.dc.import(); };