VBA Project is Unviewable After Repair

Alan_P

Well-known Member
Joined
Jul 8, 2014
Messages
596
Hi guys,

For some reason this morning I am getting this message when I try to open my workbook;

"Excel found unreadable content in 'Para Reg.xlsm'. Do you want to recover the contents of the workbook?" -> click ok

"Excel completed file level validation and repair. Some parts of this workbook may have been repaired or discarded." -> click ok

Now the strange part; once I've saved the repaired workbook all the macros seem to work fine; userforms, sending emails, saving the workbook... everything!

But I'm just not able to view the VBA project? Just keeps saying "Project is unviewable"? There is no password or anything like that on the project or workbook, nor is it shared.

Has anyone seen this before or know a way of repairing it?

Many thanks for any help,
Cheers,
Alan.

P.s I have made the amateur mistake of not having a backup :oops:
 
Last edited:

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
For anyone who comes across this...

The workbook seems to have thought it was shared (even tho the share workbook box was unticked)

To solve the problem I had to tick the Share Workbook box, save the file, Un-tick the Share Workbook box, save the file again and voila the project is now viewable again...

Very strange!
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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