Reputation: 265
My excel workbook is popping up with DLL error message when I try to open few of the modules. Where the code inside those module works perfectly...( I have one button which execute those code) Any idea what will be the reason or how to solve this problem ?? Because I have to make few changes on those code
Thank you
Upvotes: 1
Views: 2508
Reputation: 21639
If you're running Office 64-bit or alternative installations, then the DLL could be located elsewhere.
Search your system for the file:
Type REFEDIT.DLL
and hit Enter
For example, mine is located at:
C:\Program Files (x86)\Microsoft Office\root\Office16\REFEDIT.DLL
Once you locate the file:
CTRL + C copy the entire path
In Excel's VBA Editor, go Tools
→ References
Un-check the MISSING:
reference
Click Browse...
CTR L + C paste in the correct path and hit Enter
Scroll to find REFEDIT.DLL
and double-click it, Click OK
The issue should be resolved.
Upvotes: 2