Share a protected workbook

M

Mike Harris

I am using the following code to try to share a workbook
and record the changes but it isn't working. Any ideas
anyone?

Private Sub Workbook_Open()
With Worksheets("Business Plan Objectives")
.EnableAutoFilter = True
.EnableShareWorkbook = True
.Protect Password:="password", _
Contents:=True, UserInterfaceOnly:=True
End With
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top