hi all,
i have a quick question which i can't find the answer to. i use excel often to scrape info from extra and its either a few strings or a single line of info.
Recently i've had to scrape multiple lines (10-15 per page) on multiple pages (up to 300). my question is, is there a way of capturing multiple lines of a page.
thanks,
something like:
Print #1, MyScreen.area(8, 1, 22, 80)' get multiple rows
this is the kind of loop i use now.
Do
Do Until Z > 22
If Trim(MyScreen.area(Z, 1, Z, 80)) <> vbNullString Then Print #1, MyScreen.area(Z, 1, Z, 80)
Z = Z + 1
Loop
Z = 10
KeyW "<PF2>"' next screen
Loop Until MyScreen.area(24, 42, 24, 57) = "INQUIRY COMPLETE"
i'm hoping to speed up the capture of data, any help/advice would be great.
jazznaura
i have a quick question which i can't find the answer to. i use excel often to scrape info from extra and its either a few strings or a single line of info.
Recently i've had to scrape multiple lines (10-15 per page) on multiple pages (up to 300). my question is, is there a way of capturing multiple lines of a page.
thanks,
something like:
Print #1, MyScreen.area(8, 1, 22, 80)' get multiple rows
this is the kind of loop i use now.
Do
Do Until Z > 22
If Trim(MyScreen.area(Z, 1, Z, 80)) <> vbNullString Then Print #1, MyScreen.area(Z, 1, Z, 80)
Z = Z + 1
Loop
Z = 10
KeyW "<PF2>"' next screen
Loop Until MyScreen.area(24, 42, 24, 57) = "INQUIRY COMPLETE"
i'm hoping to speed up the capture of data, any help/advice would be great.
jazznaura