I have read many posts using code to login to a web page but i am having trouble with a couple of things...
Dim IE as object
Dim iePage as object
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
IE.navigate "http:MY WEB ADDR"
Do Until IE.readyState = 4
Loop
Set iePage = ieApp.Document
iePage.Forms("????").Item("?????").Click
2 Questions - 1. When the code gets to the last line i get an "Object Variable not set" error? 2. How do i know what name to put in the "????" areas?
Please help....Thanks
Dim IE as object
Dim iePage as object
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
IE.navigate "http:MY WEB ADDR"
Do Until IE.readyState = 4
Loop
Set iePage = ieApp.Document
iePage.Forms("????").Item("?????").Click
2 Questions - 1. When the code gets to the last line i get an "Object Variable not set" error? 2. How do i know what name to put in the "????" areas?
Please help....Thanks