Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-17-2022, 05:11 AM
ericliu24 ericliu24 is offline compile error : can't find project or library Windows 10 compile error : can't find project or library Office 2016
Novice
compile error : can't find project or library
 
Join Date: Mar 2022
Location: China
Posts: 21
ericliu24 is on a distinguished road
Default compile error : can't find project or library

When openning the template dotm file on another machine , my VBA code throw compile error : can't find project or library, and debugger indicates error on funtions like trim, ltrime or symbol chr(32).

The code works perfectly on my development machine, and the Word versions are the same (2016), and references are also the same.

How could I solve it ? Many thanks.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error message ["Project is unviewable"] when I try to exit Word; despite my running Debug, Compile [ marceepoo Word VBA 2 05-07-2020 03:48 PM
compile error expected end sub ashg75 Word VBA 2 07-13-2017 07:08 AM
compile error : can't find project or library Compile error in Module ksigcajun Word VBA 2 04-08-2015 06:44 AM
Compile error: sub or function not defined.. xena2305 Excel Programming 0 08-02-2011 10:17 AM
compile error in Word raco Word 0 09-28-2010 12:40 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:49 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft