NOT a GOOD way of doing it
here some code that should help you
Code:
Sub InternetExplorer()
Dim IExp As Object
On Error Resume Next
Dim sPage As String
Set IExp = CreateObject("InternetExplorer.Application")
IExp.Visible = True
IExp.Navigate "http://yourwebpageyouwantto full"
Do
Loop While IExp.Busy = True
IExp.Document.Forms(0).UserName.Value = "" '<= read note
IExp.Document.Forms(0).Password.Value = "" '<= read note
Call IExp.Document.Forms(0).elements("Submit").Click
Set IExp = Nothing
End Sub
Note: mite have to view the source code to find out the Feildname you are trying to full
to run it copy above code to a module and click once on the Sub the press F8 and that should start the Sub going press f8 to step it.
NOW
if you get the above working
we can now make it beater
Code:
Sub Send_data(valueA,valueB)
Dim IExp As Object
On Error Resume Next
Dim sPage As String
Set IExp = CreateObject("InternetExplorer.Application")
IExp.Visible = True
IExp.Navigate "http://yourwebpageyouwantto full"
Do
Loop While IExp.Busy = True
IExp.Document.Forms(0).UserName.Value = valueA
IExp.Document.Forms(0).Password.Value = valueB
Call IExp.Document.Forms(0).elements("Submit").Click
Set IExp = Nothing
End Sub
Dim fn As String
Dim ln As String
fn = Range("A1").Value
ln = Range("A2").Value
call Send_data(fn,In)
once you happy with
set the IExp.Visible = False
so you don't see it the screen popup.