Complete the code to save the workbook with sharing enabled.
ActiveWorkbook.SaveAs Filename:="SharedBook.xlsx", [1]:=True
The ShareWB parameter enables sharing when saving the workbook.
Complete the code to allow multiple users to edit the workbook simultaneously.
ActiveWorkbook.[1] = True
The MultiUserEditing property allows multiple users to edit the workbook at the same time.
Fix the error in the code to properly share the workbook.
ActiveWorkbook.[1] = True
The correct property to enable sharing is MultiUserEditing, not a property named ShareWorkbook or similar.
Fill both blanks to create a shared workbook and enable change tracking.
ActiveWorkbook.[1] = True ActiveWorkbook.[2] = 30
Setting MultiUserEditing to True enables sharing, and KeepChangeHistory to 30 enables tracking changes for 30 days.
Fill all three blanks to save a shared workbook with a password and enable change history.
ActiveWorkbook.SaveAs Filename:="SharedBook.xlsx", Password:="[1]", [2]:=True ActiveWorkbook.[3] = 30
Use a password like secret123 to protect the file, set ShareWB to True to enable sharing, and KeepChangeHistory to 30 to keep change history for 30 days.