Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
29-09-20 06:44 PM
Hello,
I have completed the SAP scripting but when I am trying to run the code in Object level above error is showing. Did I miss anything.
I have attached the screenshots of my code.
BR/Deb

------------------------------
Asitabha Deb
------------------------------
I have completed the SAP scripting but when I am trying to run the code in Object level above error is showing. Did I miss anything.
I have attached the screenshots of my code.
Page: Click on Spreadsheet
Stage: Code1
Type: Error
Action: Validate
Description: Compiler error at line 12: Method arguments must be enclosed in parentheses.
Repairable: No
Please help ASAP. I need to submit it to leadership team.Stage: Code1
Type: Error
Action: Validate
Description: Compiler error at line 12: Method arguments must be enclosed in parentheses.
Repairable: No
BR/Deb
------------------------------
Asitabha Deb
------------------------------
Answered! Go to Answer.
1 BEST ANSWER
Helpful Answers
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-09-20 02:36 PM
Hey Asitabha,
A quick glance makes me believe the errors you are seeing are a result of the arguments you are passing in rows 12 & 13. I'll suggest placing them in parenthesis and trying again.
I hope this helps.
Regards.
------------------------------
Madhur Chopra
Sr. Product Consultant
Blue Prism - Professional Services
America/Los_Angeles
------------------------------
A quick glance makes me believe the errors you are seeing are a result of the arguments you are passing in rows 12 & 13. I'll suggest placing them in parenthesis and trying again.
I hope this helps.
Regards.
------------------------------
Madhur Chopra
Sr. Product Consultant
Blue Prism - Professional Services
America/Los_Angeles
------------------------------
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
29-09-20 09:27 PM
Try changing line 12 to this:
I think it doesn't like that you don't have the parameters enclosed in parenthesis. The old VBA / VBS / VB6 style doesn't require them, but vb.net does.
------------------------------
Nicholas Zejdlik
RPA Developer
------------------------------
session.findById("wnd[0]/usr/cntrlRESULT_LIST/shellcont/shell").pressToolbarContextButton("&MB_EXPORT")
I think it doesn't like that you don't have the parameters enclosed in parenthesis. The old VBA / VBS / VB6 style doesn't require them, but vb.net does.
------------------------------
Nicholas Zejdlik
RPA Developer
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-09-20 02:36 PM
Hey Asitabha,
A quick glance makes me believe the errors you are seeing are a result of the arguments you are passing in rows 12 & 13. I'll suggest placing them in parenthesis and trying again.
I hope this helps.
Regards.
------------------------------
Madhur Chopra
Sr. Product Consultant
Blue Prism - Professional Services
America/Los_Angeles
------------------------------
A quick glance makes me believe the errors you are seeing are a result of the arguments you are passing in rows 12 & 13. I'll suggest placing them in parenthesis and trying again.
I hope this helps.
Regards.
------------------------------
Madhur Chopra
Sr. Product Consultant
Blue Prism - Professional Services
America/Los_Angeles
------------------------------
