I ran into an issue with using the XML files. I have a macro that searches thought the nodes inside the XML file and the macro is running fine until I restart my laptop. Every time it will go into error and I first have to open an XML file manually with Microsoft XML notepad and then it`s working again. Can I solve this without changing the default opening program on the laptop itself?
Set oXMLFile = CreateObject("Microsoft.XMLDOM")
XMLFileName = Dir(MAIN_FOLDER & "\" & LotAppendix & "*.xml")
oXMLFile.Load (XMLFileName)