Does anyone know of a way to turn workbook sharing off and on using VBA? I have a spreadsheet that runs a macro perfectly except when the workbook is shared. Is there a way to simply toggle the sharing function OFF before the meat of the code runs, then turn it back ON at the end? I'm using Excel 97.
Thanks! :cool: