"can't find project or library" when opened by other Users

Txusmah

New Member
Joined
May 3, 2021
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hello,

I have a file that has "missing Libraries" and gives the error "can't find project or library" on the most simple functions only when opened by other users.

I have created an excel that runs several relatively simple Macros: Copypaste, print pdf and send emails.

When I run it in my computer it works well. However, when I upload it to sharepoint and other users open it (in read mode) and enable macros they get this error "can't find project or library" and the only solution is to "uncheck" the "MISSING" libraries in the references. This is not a viable solution because users do not how to use macros, and don't have to.

Why does this happen and how can I properly solve it?

thanks a lot,
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
What are the missing references and are they actually used by your workbook?
 
Upvote 0
It gives me the error when using something as simple as:

VBA Code:
LEFT("text",2)

The missing references are "Microsoft PRoject 14.0 Object Library" and "Microsoft PRoject 14.0 Task Launch Control":
1649251952668.png


I uncheck them in the users' file and it works.

thanks a lot,
 
Upvote 0
Does the code in the workbook actually use Project? If not, just uncheck those two references and save the file.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top