ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   turn on sharing (https://www.excelbanter.com/excel-programming/292387-turn-sharing.html)

Mark.

turn on sharing
 
I need to turn on sharing after a workbook is open. I've
tried these two lines and both fail. The workbook has
multiple spreadsheets. I also need to turn on the general
workbook protect to prevent users from making any changes.

Workbooks(1).Protectforsharing password:="test", _
SharingPassword:="test"

Workbooks.Protectforsharing password:="Test"

Thanks for any sugestions.


Mark.


All times are GMT +1. The time now is 04:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com