Discussion Board for collaboration on QlikView Scripting.
Just wanna ask on how to load excel file to qlikview excluding one/several sheets. See example below.
Sheet names: Master File, Product 1, Product 2, Product 3, Product 4.
From the given sheet names, I want to load the excel file EXCEPT sheet name: Master File.
Please help me get over this. Thanks.
Go to Solution.
In that script, you can change this line:
IF wildmatch('$(sheetName)', 'Sales*') THEN // Only sheetNames that begin "Sales"
IF not(wildmatch('$(sheetName)', 'Master File*')) THEN // All sheetNames that are not Master File
Hope this helps,
You can use the following file as a solution.
There you have to define the name of the sheets to load in the script.
If you want to load Except 'Master File' Sheet, you can use the following coding.
for each vSheetNames in 'Product1$', 'Product2$', 'Product3$', 'Product4$'
Hope this helps
if you are using QV on a win32bit environment (where you can use OLE Jet), you can use the example posted by Celabarasan: http://community.qlik.com/message/195769#195769
You just need to adapt the script to read tables that start with 'Product*'
These are possible sheetnames (and there's no definite number of sheets, it can be more than 10, or less than 10.) Only sheetname of sheet1 is fixed.