Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have one Excel sheet which has several Tables (new functionality introduced in Excel 2007)
Use structured references in Excel table formulas
Excel Tables do not seem to be directly available from QV script (ex: Design or Index)
But Name Formula are instead available in QV, and then
How can I pull the data using Excel table formula? As it is much more handy. Target is to have an many Tables under the same Excel sheet and user should be able to add lines with no need to update the name formula.
Any help?
Try with ODBC connection
SET vFile = 'O:\Testing\Others\TEST.xlsx';
ODBC CONNECT32 TO [Excel Files;DBQ=$(vFile)];
Sheets:
SQLTABLES;
DISCONNECT;
For i = 0 To NoOfRows('Sheets')
Let zSheet = Peek('TABLE_NAME', i, 'Sheets');
LOAD * From [$(vFile)] (ooxml, no labels, table is [$(zSheet)]);
NEXT
Hi dathu.qv
This method does not work.
In your table 'Sheets', you get every worksheet of your workbook.
For me, I am working with Tables (new features of Excel 2007), and I have several tables in one single worksheet, and their location in this worksheet can change in the future, that's why I am interested to pull the data while refering the table name
Any help from community?