ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Send Key to open a particular internet browser (https://www.excelbanter.com/excel-worksheet-functions/237076-send-key-open-particular-internet-browser.html)

sunspot27

Send Key to open a particular internet browser
 
Hi

Could you tell me how i can use the sendkey command in VB to switch to
a particular, open internet browser.

For example: If i have google open in one browser and yahoo in the
other, how do can i open just google.

I use the following code but it jus opens one browser at random:

Sub Sendnew2()

Dim MyAppID, ReturnValue
AppActivate "Internet Explorer"

End Sub

Thanks


All times are GMT +1. The time now is 04:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com