Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Protect spreadsheet from being saved

Is it possible to protect a spreadsheet from being saved under a different
name or in a different folder? I have people that will save a training
schedule to their own directory and then not get the updates.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Protect spreadsheet from being saved

use the before close workbook event

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

this immediatly cancels save as as soon as it is selected provide macros are
enabled

"Otto" wrote:

Is it possible to protect a spreadsheet from being saved under a different
name or in a different folder? I have people that will save a training
schedule to their own directory and then not get the updates.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Protect spreadsheet from being saved

Thanks, Mike but this is way over my head. Where does this go?

"Mike" wrote:

use the before close workbook event

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

this immediatly cancels save as as soon as it is selected provide macros are
enabled

"Otto" wrote:

Is it possible to protect a spreadsheet from being saved under a different
name or in a different folder? I have people that will save a training
schedule to their own directory and then not get the updates.

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
The time the spreadsheet was saved Cheryl Excel Discussion (Misc queries) 1 November 22nd 06 07:17 PM
how can i recover an old saved spreadsheet VDTCJT Excel Worksheet Functions 3 April 24th 06 02:11 PM
Spreadsheet Sorts When Saved Dena Excel Discussion (Misc queries) 5 August 11th 05 04:46 PM
Password Protect When Saved Nick Excel Discussion (Misc queries) 2 July 6th 05 07:29 PM
Can I unsave a spreadsheet once it has been saved April_Presidion Excel Discussion (Misc queries) 1 December 3rd 04 06:58 PM


All times are GMT +1. The time now is 08:20 AM.

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

About Us

"It's about Microsoft Excel"