Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 84
Default Allow users to edit cells but not save the info

Is it possible to allow users to edit cells and copy/paste/print but not save?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Allow users to edit cells but not save the info

On Fri, 10 Apr 2009 09:46:05 -0700, shelly
wrote:

Is it possible to allow users to edit cells and copy/paste/print but not save?



Yes. Instead of protecting the sheet, you make it a read only file.
That way, they can not save changes back against the original filename.
They would, however, be able to perform a save as, and then write back
against the original name via a file manager.

Maybe you can run a macro that inhibits saving. Ask in
"m.p.excel.programming".
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,203
Default Allow users to edit cells but not save the info

The most brutal, blunt code to inhibit saving would be to put this in the
workbook's ThisWorkbook code mudule:

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

That pretty much prevents saving it at all, with the original or any other
name! Obviously this creates a bit of a maintenance problem - whenever you
actually do any work with it that requires a save, the maintainer is going to
have to go into the VB Editor to disable the disabler, so to speak.

I personally think that your idea of saving it out as a read-only file is
much better and if the OP is worried about someone using the file manager to
save a copy over the original, then as with all good data center practices,
there should be a copy that no one but the configuration manager can get to
that is available to replace the one in use should it become corrupted for
any reason.

"UpGrade" wrote:

On Fri, 10 Apr 2009 09:46:05 -0700, shelly
wrote:

Is it possible to allow users to edit cells and copy/paste/print but not save?



Yes. Instead of protecting the sheet, you make it a read only file.
That way, they can not save changes back against the original filename.
They would, however, be able to perform a save as, and then write back
against the original name via a file manager.

Maybe you can run a macro that inhibits saving. Ask in
"m.p.excel.programming".

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 63
Default Allow users to edit cells but not save the info


Actually, your response has me thinking of a better solution. The admin
makes the directory where the workbook is read only. That way, all users
could only open the original read only file, even if a user does a local
(his own machine) save as, because he cannot write to that directory.
Hopefully, they do not pass around edited data files to each other,
calling them the bona fide file. The original author of the file gets
items placed into that directory, meant for read only access, via the
Administrator.


On Fri, 10 Apr 2009 12:31:01 -0700, JLatham
wrote:

The most brutal, blunt code to inhibit saving would be to put this in the
workbook's ThisWorkbook code mudule:

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

That pretty much prevents saving it at all, with the original or any other
name! Obviously this creates a bit of a maintenance problem - whenever you
actually do any work with it that requires a save, the maintainer is going to
have to go into the VB Editor to disable the disabler, so to speak.

I personally think that your idea of saving it out as a read-only file is
much better and if the OP is worried about someone using the file manager to
save a copy over the original, then as with all good data center practices,
there should be a copy that no one but the configuration manager can get to
that is available to replace the one in use should it become corrupted for
any reason.

"UpGrade" wrote:

On Fri, 10 Apr 2009 09:46:05 -0700, shelly
wrote:

Is it possible to allow users to edit cells and copy/paste/print but not save?



Yes. Instead of protecting the sheet, you make it a read only file.
That way, they can not save changes back against the original filename.
They would, however, be able to perform a save as, and then write back
against the original name via a file manager.

Maybe you can run a macro that inhibits saving. Ask in
"m.p.excel.programming".

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
Allow Users to Edit Ranges??? MarcusA Excel Discussion (Misc queries) 8 April 30th 07 03:28 PM
F2 edit cells - new info disappears when I hit enter Will123 Excel Discussion (Misc queries) 1 December 1st 06 04:50 PM
How do I save Excel info without saving the reference cells? Dave Excel Discussion (Misc queries) 2 July 9th 06 09:38 PM
allow users to edit range Lp12 Excel Discussion (Misc queries) 0 March 21st 06 12:20 PM
Can I lock info in Excel 2003 and users in Excel 2000 enter info? Mimmsan Excel Discussion (Misc queries) 1 September 8th 05 12:12 AM


All times are GMT +1. The time now is 05:17 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"