sub refers to subroutine. Always remember these two rules when calling a subroutine:
Ex: Call datatable.Exportsheet ("C://sheet1",1)
- When calling a subroutine without the Call statement, do not use parentheses.
- If you want to use parentheses always use Call statement.
Ex: Call datatable.Exportsheet ("C://sheet1",1)
Want to fast track your QTP/UFT Learning? Join our UFT Training Course

