Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Invalid procedure call or argument
#1
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi,
In my Excel sheet I have 3 rows.Up to three rows my script is woking fine with the following for loop
Code:
For intRow = intStartRow to xlWrksht.UsedRange.Rows.Count
.......


Next

After the 3 rd row it is not coming out and it is igoing into the for loop again and started giving the following error,
Invalid procedure call or argument
Line (166):
Code:
"Browser("name:=.*").Page("title:=.*").WebList("name:=SearchType","location:=0").Select "SearchType"
Why?
Any help?
Thanks,
Uma
Hi
I have 3 rows in my excel sheet and my script is working for all the 3 rows using the following for loop,

Code:
For intRow = intStartRow to xlWrksht.UsedRange.Rows.Count
...............................
Next


After I checked the third row,it does not coming out,
it goes inside again and it gives some error,
Invalid procedure call or argument

Why?
Any help?
Thanks,
Uma
Hi,
In my Excel sheet I have 3 rows.Up to three rows my script is woking fine with the following for loop
For intRow = intStartRow to xlWrksht.UsedRange.Rows.Count
.......


Next

After the 3 rd row it is not coming out and it is igoing into the for loop again and started giving the following error,
Invalid procedure call or argument
Code:
Line (166): "Browser("name:=.*").Page("title:=.*").WebList("name:=SearchType","location:=0").Select "SearchType"
Why?
Any help?
Thanks,
Uma
Reply


Messages In This Thread
Invalid procedure call or argument - by Uma - 09-10-2011, 01:49 AM
RE: Invalid procedure call or argument - by Uma - 09-21-2011, 03:16 AM
RE: Invalid procedure call or argument - by Uma - 09-12-2011, 12:44 PM
RE: Invalid procedure call or argument - by Uma - 10-09-2011, 03:24 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Generate Invalid Values rsk_beckon 1 2,507 01-08-2014, 06:01 PM
Last Post: K Gaurav Varshney

Forum Jump:


Users browsing this thread: 2 Guest(s)