Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

Load multiple sheets and excel files

Hi all

Posted this question before but couldnt find a complete solution.

I have multiple excel sheets and workbooks. How do I loop them? Please see attached. Could do if it was one excel file but cannot with multiple excel files.

1 Solution

Accepted Solutions
Not applicable

Re: Load multiple sheets and excel files

Hi,

1) To loop on files

a) For each file in FileList('*.xlsx')

        Load .... FROM $(file) ....

Next

b) For each file in 'A.xlsx' 'B.xlsx'

same as previous

2) To loop on sheets

See the doc made by Jagan : http://community.qlik.com/docs/DOC-4452

or the following post:

http://qlikviewnotes.blogspot.fr/2008/09/loading-multiple-excel-sheets.html

Fabrice

1 Reply
Not applicable

Re: Load multiple sheets and excel files

Hi,

1) To loop on files

a) For each file in FileList('*.xlsx')

        Load .... FROM $(file) ....

Next

b) For each file in 'A.xlsx' 'B.xlsx'

same as previous

2) To loop on sheets

See the doc made by Jagan : http://community.qlik.com/docs/DOC-4452

or the following post:

http://qlikviewnotes.blogspot.fr/2008/09/loading-multiple-excel-sheets.html

Fabrice