Hi All
I have an IE webpage that I want to auto click a button in VBA when it automatically fills in the page, I have got the Auto fill to work just cannot work out the button click any suggestions?
Button Is called Submit in in HTML
<input type="submit" value="Save Changes" name="B1">
Set oDoc = IE.Document
'New Address
oDoc.getElementsByName("NewAddress").Item(0).Value = [Forms]![FRM_TBLALL_FullDetails].[Form]![NewAddressDetails]
oDoc.getElementsByName("Reason").Item(0).Value = "Change Of Address"
Many thanks
I have an IE webpage that I want to auto click a button in VBA when it automatically fills in the page, I have got the Auto fill to work just cannot work out the button click any suggestions?
Button Is called Submit in in HTML
<input type="submit" value="Save Changes" name="B1">
Set oDoc = IE.Document
'New Address
oDoc.getElementsByName("NewAddress").Item(0).Value = [Forms]![FRM_TBLALL_FullDetails].[Form]![NewAddressDetails]
oDoc.getElementsByName("Reason").Item(0).Value = "Change Of Address"
Many thanks