Project locked???

roscoe

Well-known Member
Joined
Jun 4, 2002
Messages
1,046
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I created a file with VBA included. A buddy copied it to use on his network. He needed some fixes so I opened the file and the VBA developer but could not edit the code, it said that the project was locked and unviewable.

I've never encountered this before...any idea what would cause this? Due to the painful logistics of moving the file from one proprietary network to another, I'd prefer to edit the existing one rather than edit the original and retransfer it.

Thanks!
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Did you password protect the VBA project?
 
Upvote 0
I did not. It does default to read-only unless one selects to edit it...which I did.
 
Upvote 0
Can you get into the editor & see the code?
Also what do you mean by
It does default to read-only unless one selects to edit it
 
Upvote 0
No, I can’t see the code...it’s the editor telling me it’s locked. As for the quoted question, the file is set to prompt whoever opens it if they want to open it read only or not. I selected “not”.

All that said, I just realized what the cause is...it’s a shared file. VBA code cannot be edited while a file is shared.
 
Upvote 0
Glad you figures it out & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,377
Messages
6,119,185
Members
448,872
Latest member
lcaw

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