Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

RECORRER PESTAÑAS DE UN EXCEL

Let vArch = '..\DataSources\Excel\P0-03-Produk2 17.xls';


ODBC CONNECT TO [Excel Files;DBQ=$(vArch)];

tables:
SQLtables;
DISCONNECT;

FOR i = 0 to NoOfRows('tables')-1

LET vSheetName = left(purgeChar(purgeChar(peek('TABLE_NAME', i, 'tables'), chr(39)),


chr(36)),6) & '$';

Tabla:

Load…

From '..\DataSources\Excel\P0-03-Produk2 17.xls' (vSheetName)

NEXT;

You might also like