Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
vchuprina
Specialist
Specialist

How ignore some sheet?

I received xls files, and these files have many sheets. Last sheet in file is incorrect. How ignore this sheet?

Press LIKE if the given solution helps to solve the problem.
If it's possible please mark correct answers as "solutions" (you can mark up to 3 "solutions").
4 Replies
jyothish8807
Master II
Master II

Hi,

How are you loading all the sheet of workbook?

Regards

KC

Best Regards,
KC
jyothish8807
Master II
Master II

Hi,

go through this:

http://community.qlik.com/docs/DOC-4452

In this simply ignore the last sheet from the loop and try to number your sheets as 1,2,3.....

Regards

KC

Best Regards,
KC
vchuprina
Specialist
Specialist
Author

I use following loop

FOR j=0 TO NoOfRows('tables')-1

.

.

.

.

Next j

Press LIKE if the given solution helps to solve the problem.
If it's possible please mark correct answers as "solutions" (you can mark up to 3 "solutions").
jyothish8807
Master II
Master II

Hi,

Simply make it :

FOR j=0 TO NoOfRows('tables')-2

.

.

.

.

Next j

So it will ignore the last sheet. give it a try.

Regards

KC

Best Regards,
KC