Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default limit copy command?

I want the user only to be able to copy visible cells, how do I do
this?
Also I want to disable all forms of cut (shortkeys, mouse movements
etc), how do I do this?

Thanks

/Johan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default limit copy command?

Hi, I assume that by visible cells, you mean those with content (?). If so,
then something like this might help:

For Each c In Range("b5:i34, b37:i42")
If c.Value < "" Then
c.Select
Selection.Interior.ColorIndex = 6
Selection.Font.ColorIndex = 10
[b5].Select
Else
End If
Next c

"Johan Johansson" wrote:

I want the user only to be able to copy visible cells, how do I do
this?
Also I want to disable all forms of cut (shortkeys, mouse movements
etc), how do I do this?

Thanks

/Johan

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
Sheet copy limit LiAD Excel Discussion (Misc queries) 0 November 6th 09 07:43 AM
Copy/Paste limit? ka2cil Excel Discussion (Misc queries) 1 February 11th 06 12:26 AM
IF command, limit to number of entries? timhiley Excel Worksheet Functions 2 December 10th 05 12:54 AM
Print Copy limit gocats Excel Discussion (Misc queries) 8 August 26th 05 01:33 AM
WordBasis insert command -- text length limit a Excel Programming 1 October 19th 04 01:13 PM


All times are GMT +1. The time now is 12:36 PM.

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

About Us

"It's about Microsoft Excel"