123456 vba

  • Thread starter Thread starter Mr. Bluemaxx
  • Start date Start date
M

Mr. Bluemaxx

Guest
CodeOption Explicit Const sURL = "https://www.a.com/css-tutorials/form/contact-form.htm" ' Now, run the macro by clicking the hyper links. Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink) fillWebForm Target.Range.row End Sub Private Sub fillWebForm(iRow As Integer) ' Define objects. Dim oIE As Object Dim oHDoc As HTMLDocument ' Create IE object. Set oIE = CreateObject("InternetExplorer.Application") With oIE .Visible = True ' Open IE. .Navigate sURL ' Assign the URL to the browser.

Continue reading...
 

Similar threads

M
Replies
0
Views
5
Mr. Bluemaxx
M
M
Replies
0
Views
9
Mr. Bluemaxx
M
M
Replies
0
Views
9
Mr. Bluemaxx
M
Back
Top