Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 132
Default disable copy and save as

I have workbook which is updates very often daily and shared for users for
view. It meant for view only but I have to prevent users from copying by
using ctrl+c or right click and save as option in their computer. How can I
do it in my workbook?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 735
Default disable copy and save as

One way, is to cancel the save action before it runs...... user does not
get any message, this of course does not stop them copying it using Windows
explorer! You might also consider putting in a check when the workbook
opens that it is opening from a specific folder. If the users disable macro
then saving is possible, here you might lock the application up and only
unlock it in the workbook open event, which will run only if macros are
enabled.

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

--

Regards,
Nigel




"Narnimar" wrote in message
...
I have workbook which is updates very often daily and shared for users for
view. It meant for view only but I have to prevent users from copying by
using ctrl+c or right click and save as option in their computer. How can
I
do it in my workbook?


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
File Protection with Save as & Copy option disable th Excel Discussion (Misc queries) 4 November 18th 08 12:55 PM
Disable Save/Save As - not working? Silena K-K Excel Discussion (Misc queries) 3 December 11th 07 03:09 PM
Disable save & save as then return message... J.W. Aldridge Excel Programming 2 September 15th 06 04:35 PM
disable save and saveas from menubar and save via command button Steve E Excel Programming 5 September 13th 06 11:51 PM
Disable save, save as, but allow save via command button TimN Excel Programming 10 September 1st 06 07:05 PM


All times are GMT +1. The time now is 07:23 PM.

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"