M
matt
I have very limited programming knowledge and am a beginner.
I have code to open Internet Explorer from Excel. The website I am
accessing requires me to input a username and password. I want to know
if there is a way to do that from Excel.
I have an example of some code that opens an application, names the
application as MyScreen, and then runs the following:
If MyScreen.Search("Userid:",14, 5) = "Userid:" Then
MyScreen.SendKeys("tpx101<Enter>")
.....
I'm assuming that the "Search" looks for the ("Userid:") text, but I
have no idea what the ",14, 5) = "Userid:" is for.
My thinking is that I can do a similar thing with the Internet Explorer
Browser--name it, and then send keys to the username and password
boxes. I'm sure there is a better way, but I'm working with what I
have.
Once I've logged into the internet site I then have to click on two
separate links to get to a point where I can input information, click a
submit button, and then obtain results from a separate browser that
opens with the results output in the form of a hyperlink. I click on
the results output hyperlink and I have what I'm looking for.
Any ideas for using Excel code to run through these steps is much
appreciated.
Thanks,
Matt
I have code to open Internet Explorer from Excel. The website I am
accessing requires me to input a username and password. I want to know
if there is a way to do that from Excel.
I have an example of some code that opens an application, names the
application as MyScreen, and then runs the following:
If MyScreen.Search("Userid:",14, 5) = "Userid:" Then
MyScreen.SendKeys("tpx101<Enter>")
.....
I'm assuming that the "Search" looks for the ("Userid:") text, but I
have no idea what the ",14, 5) = "Userid:" is for.
My thinking is that I can do a similar thing with the Internet Explorer
Browser--name it, and then send keys to the username and password
boxes. I'm sure there is a better way, but I'm working with what I
have.
Once I've logged into the internet site I then have to click on two
separate links to get to a point where I can input information, click a
submit button, and then obtain results from a separate browser that
opens with the results output in the form of a hyperlink. I click on
the results output hyperlink and I have what I'm looking for.
Any ideas for using Excel code to run through these steps is much
appreciated.
Thanks,
Matt