excel - updated to IE explorer 11. Marco update is not working -
i updated ie11. made update report (macro) , it's giving me run time error... run-time error'13': type mismatch. when debug, below it's taking me - set pdocument = ie.document... can please. thank much
set ie = createobject("internetexplorer.application") ie.navigate "https://famis.web.fedex.com/fwr/menus/menu-15-a.cfm?chgdiv=1&division=09" ie .top = 1 .left = 1 .height = 400 .width = 600 end ie.visible = true while ie.busy loop dim pdocument ihtmldocument2 dim pelements ihtmlelementcollection dim pelement ihtmlelement set pdocument = ie.document set pelements = pdocument.all worksheets("setup").range("a10").value = ie.locationname if ie.locationname = "sso login"
make sure reference : microsoft html object library checked.
you can go in tools/references in vba editor.
Comments
Post a Comment