A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
If you use the object identifiers in your declaration you have must set the correct references within Tools\References
This can be a problem if you want to use the same file/code on different PCs.
The solution on this is to rewrite the code from early binding to late binding.
https://support.microsoft.com/en-us/help/245115...
Remove the reference to "Microsoft XML v3.0" and change the code to this
Dim soapClient As Object 'MSXML2.XMLHTTP
Set soapClient = CreateObject("MSXML2.XMLHTTP")
Add the line
Option Explicit
at the top of the module, then click Debug\Compile.
That's the best way to find undeclared variables, resp. constants that you use anywhere in the code.
Andreas.