Skip to main content
Announcements
Qlik Cloud maintenance is scheduled for this weekend May 11-12. View maintenance windows per region 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
Luminary Alumni
Luminary Alumni

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