Invoke VB code is giving error

Hi all, Am trying to invoke VB code in Invoke code activity but am getting an error like "Statement cannot appear in method body end of method assumed and “End Sub must be preceded by a Matching sub”.I had searched in the forum but I haven’t found any solution even try to declare module and wrote sub procedure also getting the same error, please can anyone help me out in this.Sequence.xaml (8.2 KB)
This is my workflow for fuzzy match

@DivyaT, check it out -