Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi guys,
I am loading an excel file and it has two sheets lets suppose A and B. Both has similar structure and i use For Each loop for loading these files. Whenever i use this logic before it works but this time it generates an error which is 'unknown file format specifier'.
Kindly give me solution to solve this problem.I will very thankful to you guys..
Thanks in Advance...
Is the file path set to a variable? If not that may be the issue.
For reference:
Actually when i load sheets individually it works but when i load both sheet in loop it doesn't and generates error.So i think their is nothing issue in path.
Please Help me out....
I would have to guess your Loop Statement is the cause. Try the below resources to reformat your statement.
QlikView Maven: Loading All of the Files from a Folder
or
Hi Syed,
When try to load multiple sheet you should have MS drive. else you made path problem. else send me your script i will help you
Kumar i am sending you my qvw file for helping me hope you will do it Thanks..
Anyone please helping me out...!!
HI Syed,
PFA simple script.
Else find the below url:
Kumar's solution is GOOD, the issue was with the table name specification during xls load.
Instead this:
FROM
[.........................xls]
(biff, embedded labels, table is $(vSheetName) ;
this one has to be used:
FROM
[.........................xls]
(biff, embedded labels, table is [$(vSheetName)$]);
Thanks!