Hi everyone,
I have the following simple code that works well on my computer (Windows 7, Excel 2013, IE11) but not on my friend's computer (Windows 7, Excel 2010, IE11). The code errors on the getElementById line. Whenever "getElementById" appears anywhere in the full code, we get a run-time error 13 (type mismatch) on his computer. I've tested getElementsByClassName in the same position and it works fine. It seems like a strange, simple error but haven't found anyone on the forums who's come across this before. Can anyone generate this error? Microsoft HTML Object Library and Microsoft Internet Controls are references. Any help would be appreciated.
Cheers, Rob
Bookmarks