Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
BILover
Contributor
Contributor

the control statement is not correctly matched with its corresponding start statement end sub

I have this error message when I try to reload my script in QS:

the control statement is not correctly matched with its corresponding start statement

end sub

I´m working with "Sub ....End Sub"

Can someone help me please?

Thanks

 

1 Reply
AndrewMcIlwrick
Partner - Specialist
Partner - Specialist

Without full script it is hard to help. The problem may not even be the Sub
End Sub pair but another command.

QS will syntax parse the entire script, even if you have an EXIT SCRIPT