Hi!
i am checking against excel to screen if account matches in screen corresponding value into excel
the below code works fine, but it takes more than half an hour. is it fastest way to do that? thanks in advance
Do
For i = 2 To 3000
Account = Cells(i, "E").Text
MyScreen.MoveTo 4, 15
MyScreen.SendKeys ("F")
MyScreen.SendKeys (" " + Account)
MyScreen.SendKeys ("<Enter>")
MyRw = MyScreen.Row
fBN = Trim(MyScreen.Getstring(MyRw, 7, 5))
LBN = Trim(MyScreen.Getstring(MyRw, 13, 5))
Cells(i, "A") = fbn
Cells(i, "B") = lbn
Next
Loop Until UCase(MyScreen.Getstring(24, 1, 10)) = "***********"
Exit Sub
i am checking against excel to screen if account matches in screen corresponding value into excel
the below code works fine, but it takes more than half an hour. is it fastest way to do that? thanks in advance
Do
For i = 2 To 3000
Account = Cells(i, "E").Text
MyScreen.MoveTo 4, 15
MyScreen.SendKeys ("F")
MyScreen.SendKeys (" " + Account)
MyScreen.SendKeys ("<Enter>")
MyRw = MyScreen.Row
fBN = Trim(MyScreen.Getstring(MyRw, 7, 5))
LBN = Trim(MyScreen.Getstring(MyRw, 13, 5))
Cells(i, "A") = fbn
Cells(i, "B") = lbn
Next
Loop Until UCase(MyScreen.Getstring(24, 1, 10)) = "***********"
Exit Sub