Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
dsharmaqv
Creator III
Creator III

Excel tab name is not consistant

Hi

I am using excel file as a source, but the tab name is not consistant every time.

for example

some time it is coming as

FROM
[$(vFile)]
(
ooxml, embedded labels, table is [Employees(1)]);

FROM
[$(vFile)]
(
ooxml, embedded labels, table is [Employees(2)]);

etc

Can some one assist me to make it dynamic while loading.

3 Replies
enriquem
Creator
Creator

Hi,

This is for files on a directory, but you can try to do something like this

for each File in filelist('..\yourFileDirectory\Employees*.qvd')

  LOAD * From $(File) (qvd);

next File

Maybe, if you can do a tablist.... yo can do something like

for each Tab in tablist(File)

  LOAD * From $(File) (ooxml, embedded labels, table is [tablist]);

next File

Regads.

Kind Regards,
Enrique Mora.
dsharmaqv
Creator III
Creator III
Author

thanks for your replay

can I have a sample app for this ..... I dont know if there and tablist() function available in QV.

thanks