Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
When and when not to use "Parentheses"
#1
Solved: 11 Years, 4 Months ago
Hi,

Using the following option I was successfully exported sheet to C: drive
datatable.Exportsheet "C://sheet1",1

but when I used parentheses similar to below
datatable.Exportsheet ("C://sheet1",1)

QTP throwing syntax error saying "Cannot use parentheses when calling a Sub"

As I don't have much programming knowledge I always get confused with when and when not to use parentheses...
Can any one give tips on how to know about this?
and also what does it mean by the error I mentioned above.

Thanks,
Akhila
Reply


Messages In This Thread
When and when not to use "Parentheses" - by Akhila - 10-20-2008, 09:56 AM

Forum Jump:


Users browsing this thread: 5 Guest(s)