Share workbook macro

cgmojoco

Well-known Member
Joined
Jan 15, 2005
Messages
699
I tried recording the script that shares a workbook to no avail.

What is the script for sharing a workbook?

Specifically, I'd like to share the workbook with "Don't keep change history" selected.

And uncheck Include in personal view print settings and filter settings.

All of these are options when you manually share a workbook...

Thanks in advance!
Christopher
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
This got me at least part way there

;)

Code:
'SHARE
Sub Sharing()
Dim CurFilename As String
Dim CurPath As String
Dim CurFile As Variant
Application.DisplayAlerts = False
ActiveWorkbook.ProtectSharing Filename:=ActiveWorkbook.FullName
Application.DisplayAlerts = True
End Sub
 
Upvote 0
Can anyone get me the rest of the way?

I need to at least have the macro set the setting to save every X number of minutes.
 
Upvote 0

Forum statistics

Threads
1,213,487
Messages
6,113,938
Members
448,534
Latest member
benefuexx

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