|Excel Developer Reference|
expression A variable that represents a Workbook object.
To save a workbook as a shared list, use the SaveAs method. To switch the workbook from shared mode to exclusive mode, use the ExclusiveAccess method.
This example determines whether the active workbook is open in exclusive mode. If it is, the example saves the workbook as a shared list.
|Visual Basic for Applications|