By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,276 Members | 1,951 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,276 IT Pros & Developers. It's quick & easy.

passing data to an already open browser using VBA

P: 13
Hi
I used the following code to enter values to an already open browser using VBA.
Dim IeBrow As InternetExplorer
Dim IeDoc As Object
Set IeBrow = New InternetExplorer
IeBrow.Visible = True
IeBrow.Navigate ("www.rediffmail.com")
IeDoc.loginform.login.Value = userid
IeDoc.loginform.passwd.Value = passwd
..
..
this helps me to open a browser and enter the values into the homepage on the click of a button from a VBA application..say a Excel sheet.
Now how do I change the code so that I will be able to enter values to a already open browser.i.e after I have gone to the homepage if I click the button in Excel I should be able to enter the values in the already open page..?pls help ..
Jan 8 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.