Cant Find Project or Library

AllisterB

Board Regular
Joined
Feb 22, 2019
Messages
120
Office Version
  1. 365
Platform
  1. Windows
I open up a xlsxm workbook and it gives me the error Can't Find Project or Library.

I have looked on eth net and most solutions involve going to Tools|Refrences and checking a box for the missing one - when i do this I can't get a reference List.

I then thought I would see if VBA was working and when I go to View Code on the Sheet I get eth Image attached. I also can't Record a macro as it doesn't like the name even if I give it a random name eg hhjklgk

When I try and save the file it says errors were detected when saving the file

Has anyone any ideas.

Allister
 

Attachments

  • Capture.PNG
    Capture.PNG
    27.2 KB · Views: 23

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
I have tried opening the file on different PC. I can now see the References, I don't get eth Error message about the Project or Library and I can save the file - what does this suggest is the cause of eth problem?
 
Upvote 0
What references are selected?
 
Upvote 0
On the PC where teh file works see attched
 

Attachments

  • Capture3.JPG
    Capture3.JPG
    44.9 KB · Views: 44
Upvote 0
Are you sure you had the correct workbook open and active when you checked that? Those are the default references and none of them should cause the error you are getting.
 
Upvote 0
I'm pretty sure -see attached and you can see I have the project for my file selected on the left.
Capture4.JPG

no other References are ticked except those showing
 
Upvote 0
What versions of Office/Windows are in use on the two machines?
 
Upvote 0
Both exactly the same?
 
Upvote 0
Probably not exactly the same as one is on a semi-Annual office Update the other on Microsoft 365 Home. The Win10 updates may be slightly behind the other
 
Upvote 0

Forum statistics

Threads
1,214,926
Messages
6,122,306
Members
449,079
Latest member
juggernaut24

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