Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2006

Tip: Looking for answers? Try searching our database.

Stopping spreadsheet save

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John - 14 Sep 2006 15:47 GMT
Hi

We have a spreadsheet that we share among users by keeping it on a shared
location on server. The problem is that we want everyone to be able to
modify the sheet but we want to stop users making copies of the sheet to
avoid versioning issues. Is there a way to do that?

Thanks

Regards
Allllen - 14 Sep 2006 18:26 GMT
I would suggest that you would need to do a combination of 2 things.

1) Force users to use macros on your workbook.
There are plenty of other posts on here about how to do that, just search
for them; the general idea is to have one default sheet that comes up if
macros are not used, then all the other sheets in your workbook only get
unhidden if macros are switched on, and you do this within the workbook_open
event procedure.

2) Now that they are forced to use macros, use this code in the workbook
event procedure.

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
  If SaveAsUI Then Cancel = True
End Sub

It stops them bringing up the Save As dialogue box.  More info on where to
put that code:
http://www.contextures.com/xlvba01.html#Workbook

Signature

Allllen

> Hi
>
[quoted text clipped - 6 lines]
>
> Regards
MartinW - 15 Sep 2006 09:19 GMT
Hi John,

You may want to look at Google Spreadsheets. Burgeoning technology
that I'm sure will become a part of many peoples corporate structure.

Just put 'google spreadsheets' into a google search and follow your nose.

HTH
Martin
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.