Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Disable share workbook option in VBA

Thanks John,

That works like a charm in XL 2003. It would be a treat if I can also
stop XL 2007 users from sharing the workbook. I thought of capturing
the user clicking on the share workbook option in the
Workbook_BeforeSave procedure with something like:

With ThisWorkbook
If .MultiUserEditing Then
<code that cancels sharing
End If
End With

But this only triggers once the workbook is already saved. Has anyone
else tried to prevent w/b sharing in XL 2007? Or what do other people
do with users that try to share a w/b that will lead to errors if
shared?

Les
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable print option of a worksheet/workbook Nelly07 Excel Discussion (Misc queries) 0 October 23rd 07 10:19 PM
Save-As Option Disable Salman Excel Worksheet Functions 0 January 9th 07 12:09 PM
How can I share and un-share a workbook using a macro? Botter Excel Programming 2 October 4th 06 06:39 PM
Can't share workbook. The "Share Workbook" option is off. Why? Doyle Diener Excel Discussion (Misc queries) 4 April 24th 06 06:56 PM
How to disable smoothline option. Sureshkrishnan Charts and Charting in Excel 2 October 15th 05 01:47 PM


All times are GMT +1. The time now is 10:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"