Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
.
This is working for me:
LOAD
"Month",
"Forecast CAPEX",
"Forecast GFC",
"Initial CAPEX",
"Initial GFC"
FROM [lib://aaa/trash.xlsx]
(ooxml, embedded labels, header is 16 lines, table is Sheet1) where RecNo()<13;
You could probably increase/decrease the Header size to browse to different table in the same sheet.
.
If this is a static data source you could put a condition for upper tables to tell how far (may be row count) to fetch the data for that specific table. May be like:
Load
*
From [lib://....] Where RecNo()<100;
Or you may put a flag in between to check to put a break in the load.
.
No. I meant to insert a static value for your fist column. But that would not be an easier option I realize. So better stick with the row count method if that solves your purpose.
.
Yes, without that brackets for where clause, like
FROM [lib://Trend/Trend.xlsm] Where RecNo()<12 ;
Isn't it working?
.
This is working for me:
LOAD
"Month",
"Forecast CAPEX",
"Forecast GFC",
"Initial CAPEX",
"Initial GFC"
FROM [lib://aaa/trash.xlsx]
(ooxml, embedded labels, header is 16 lines, table is Sheet1) where RecNo()<13;