Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Workbook Sharing

Status
Not open for further replies.

athlon551

Technical User
Apr 19, 2005
4
US
Is there a way in VBA to detect if a workbook is shared?
Is there a way in VBA to make a workbook shared and vica versa?

Thanks for your help in advance!
Matt
 
Straigth from the Excel VBA help:
If Not ActiveWorkbook.MultiUserEditing Then
ActiveWorkbook.SaveAs fileName:=ActiveWorkbook.FullName, _
accessMode:=xlShared
End If

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Thanks PHV. Guess I should install Excel Help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top