Asked by duncanb7
at 2024-07-15 08:39:30
Point:500 Replies:9 POST_ID:828514USER_ID:11059
Topic:
Windows XP Operating System;Programming Languages;Visual Basic Programming
I am using myie.navigate function to go to www.yahoo.com in IE7 In VBA.
And I would like to create second instance in the same IE7 browser, and then
also using myie.navigate to go to other website, for example, www.wiki.com
in the second instance I create by setting setcursorpos and mouse_event function in VBA
but it fail because www.wiki.com webpage is going to on the first instance of IE instead of second one.
I want, www.yahoo.com is going to the first instanc and www.wiki.com is going to the second instance
of IE7 within the same IE7 browser
The first question:
how to create second instance of IE7 when IE7 new broswer is created successfully in VBA, in VBA ?
And now I am using setcursorpos() and mouse_event function to click out the second instance in
the IE broswer
The second question:
I am tring the following code but it just always www.wiki.com is replacing www.yahoo.com in the
first instance of IE, I want, www.yahoo.com is going to the first instant and www.wiki.com is going to the second instance of IE7 within the same IE7 broswer
And I try to use myie.LocationURL=http://www.wiki.com" to replace second instance's URL address
it always report property error from VBA
Please advise with the following VBA code
Duncan
And I would like to create second instance in the same IE7 browser, and then
also using myie.navigate to go to other website, for example, www.wiki.com
in the second instance I create by setting setcursorpos and mouse_event function in VBA
but it fail because www.wiki.com webpage is going to on the first instance of IE instead of second one.
I want, www.yahoo.com is going to the first instanc and www.wiki.com is going to the second instance
of IE7 within the same IE7 browser
The first question:
how to create second instance of IE7 when IE7 new broswer is created successfully in VBA, in VBA ?
And now I am using setcursorpos() and mouse_event function to click out the second instance in
the IE broswer
The second question:
I am tring the following code but it just always www.wiki.com is replacing www.yahoo.com in the
first instance of IE, I want, www.yahoo.com is going to the first instant and www.wiki.com is going to the second instance of IE7 within the same IE7 broswer
And I try to use myie.LocationURL=http://www.wiki.com" to replace second instance's URL address
it always report property error from VBA
Please advise with the following VBA code
Duncan