VBA With Microsoft Access - Check if object exists VBA With Microsoft Access - Check if object exists vba vba

VBA With Microsoft Access - Check if object exists


I believe it would be something like

If myItemInsideWebpage Is Nothing Then' doesn't existElse' does existEnd If

You may need to preface your 'Set' statement with 'On Error Resume Next' in case an error is thrown when 'myDiv' does not exist.