hii want to exit sub / function outside the own method like thispublic sub method1() 'the procedure code call method2(1) 'the remind procedure codeend subpublic sub method2(number as integer) if number=1 'exit method1() end ifend sub