Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 454
Default Prevent Copy action Q


Is there a way to prevent the "copy" action being allowed, similar to
below for preventing saving, I also have one that prevents a file from
being printed? Can't use the obvious protection facility

Thanks


Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
Boolean)
Cancel = True
End Sub
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Prevent Copy action Q

One method here

http://www.vbaexpress.com/kb/getarticle.php?kb_id=373

Mike

"Sean" wrote:


Is there a way to prevent the "copy" action being allowed, similar to
below for preventing saving, I also have one that prevents a file from
being printed? Can't use the obvious protection facility

Thanks


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

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
Excell copy action pauses for 15 second for the smallest action Meekal Excel Discussion (Misc queries) 1 January 28th 10 04:30 PM
Copy Sheet action very slow RobN[_3_] Excel Discussion (Misc queries) 0 June 27th 07 03:32 AM
protecting ceels to copy -paste action grigoras victor New Users to Excel 0 June 19th 06 07:15 AM
protecting ceels to copy -paste action grigoras victor Excel Discussion (Misc queries) 0 June 19th 06 07:14 AM
VBA Code Interferring with User's Copy Action spacecityguy Excel Programming 4 June 25th 04 01:05 AM


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