Online shared workbook protection

grill

New Member
Joined
Oct 11, 2006
Messages
1
Hello! :biggrin:

I understand it is not possible to protect/unprotect a workbook while it is shared.
Yet, I realy need that feature on a VBA code I'm writing.
I have a shared workbook that I want to protect of spontaneous editing, it means it can be manipulated by only using a toolbar I added.
I replaced the protection feature with Sheet_change event that prevents the user from editing the worksheet but there are other options I want to disable, like rename a worksheet or add/delete a worksheet and I can't use protect workbook because the macros should use any available feature of the excel.
If U have an idea for turning on/off the protection while the workbook is shared or how to execute the options I mentiond without it let me know.

Have a nice day!
Noam
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,171,974
Messages
5,878,569
Members
433,352
Latest member
LMD224

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
Top