AndyPandy27
Board Regular
- Joined
- Jul 17, 2012
- Messages
- 142
Hi All,
I'm hoping someone can help me with (what I think is) the final piece of a VBA puzzle.
I created a "tool" in Excel which gets sent to >150 users. It's makes fairly extensive use of VBA, including a couple of Forms.
Recently, after having made no updates to the Excel Workbook or to the VBA it contains (i.e. nothing changed in the tool), my users have started to tell me they are getting error messages. The error message is:
"Compile error in hidden module: ThisWorkbook. This error commonly occurs when code is incompatible with the version of, platform, or architecture of this application. "Click "Help"...".
After some digging, I discovered that (including on my own version of the tool), if you go into the VBA Editor > Tools > References there was one which started with "MISSING". I'm reasonably familiar with this issue (although not with all the very specific details), so I simply unchecked that missing reference, and everything worked fine for me. Having done a LOT of additional error-checking and investigation I'm now certain that the issue is 100% related to this reference, all other aspects of the Workbook and the VBA had been working flawlessly for years, and since removing this MISSING reference, everything else is working too.
NB - I'm also pretty certain that the MISSING reference was related to a Calendar (Date Picker) I had added to one of the Forms in the tool. That was causing some problems - so I removed that (and all references to it within the VBA), replacing that with some basic native Excel Data Validation. Again, I'm confident that the removal of that Date Picker and the references to it was successful. It's just this left-over VBA reference causing the problem.
I then edited my "Master" version of the tool, which gets sent to the >150 users (unchecking that missing reference), saved it all and then emailed it out.
However, this did NOT fix the issue. Despite unchecking the missing reference, saving and sending out, all my users are reporting that this "fix" has not worked.
Is there a way of fixing a MISSING Reference centrally (i.e. by me) and then the issue be fixed for all the recipients of that updated Workbook?
I hope this is clear - any questions, just let me know and I'll endeavour to answer.
Many thanks,
AP
I'm hoping someone can help me with (what I think is) the final piece of a VBA puzzle.
I created a "tool" in Excel which gets sent to >150 users. It's makes fairly extensive use of VBA, including a couple of Forms.
Recently, after having made no updates to the Excel Workbook or to the VBA it contains (i.e. nothing changed in the tool), my users have started to tell me they are getting error messages. The error message is:
"Compile error in hidden module: ThisWorkbook. This error commonly occurs when code is incompatible with the version of, platform, or architecture of this application. "Click "Help"...".
After some digging, I discovered that (including on my own version of the tool), if you go into the VBA Editor > Tools > References there was one which started with "MISSING". I'm reasonably familiar with this issue (although not with all the very specific details), so I simply unchecked that missing reference, and everything worked fine for me. Having done a LOT of additional error-checking and investigation I'm now certain that the issue is 100% related to this reference, all other aspects of the Workbook and the VBA had been working flawlessly for years, and since removing this MISSING reference, everything else is working too.
NB - I'm also pretty certain that the MISSING reference was related to a Calendar (Date Picker) I had added to one of the Forms in the tool. That was causing some problems - so I removed that (and all references to it within the VBA), replacing that with some basic native Excel Data Validation. Again, I'm confident that the removal of that Date Picker and the references to it was successful. It's just this left-over VBA reference causing the problem.
I then edited my "Master" version of the tool, which gets sent to the >150 users (unchecking that missing reference), saved it all and then emailed it out.
However, this did NOT fix the issue. Despite unchecking the missing reference, saving and sending out, all my users are reporting that this "fix" has not worked.
Is there a way of fixing a MISSING Reference centrally (i.e. by me) and then the issue be fixed for all the recipients of that updated Workbook?
I hope this is clear - any questions, just let me know and I'll endeavour to answer.
Many thanks,
AP