Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Issue


VB error 48 occurs when attempting to run VBA code that references the Word Object Library.


Resolution


Unfortunately, the error is not specific as to what DLL is the problem here. Since the error did not occur until the Word Object Library was referenced, we suspected something with the MS Word installation. In this particular case, it turned out that the customer had a third party program installed that installed an older version of the MSWORD.OLB file and registered itself in the registry. Once we removed this application and re-installed MS Office, the correct version of MSWORD.OLB was registered and then the error no longer occured.



This article was TechKnowledge Document ID:27149

TechKnowledge Content

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×