Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Lock to copy/ modification data


on executing my workbook i need to disable copy/cut mode or any
modification in this workbook. User should able to see but prevent from
any modifications and to copy data/contents from my workbook.


--
ilyaskazi
------------------------------------------------------------------------
ilyaskazi's Profile: http://www.excelforum.com/member.php...o&userid=23969
View this thread: http://www.excelforum.com/showthread...hreadid=476081

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default Lock to copy/ modification data

protect and lock every sheet. also, set each sheets 'ScrollArea' to a small
range - that would prevent the user from even being able to select any cells

you can also use a split window and protect the sheet to prevent users
selecting anaything...here are a few ideas
Sub Lock_up()

With ActiveWindow
.SplitRow = 29
.SplitColumn = 10
.FreezePanes = True
End With
Range("L32").Select
Application.Width = 494.25
Application.Height = 485.25
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
ActiveSheet.EnableSelection = xlNoSelection
ActiveWorkbook.Protect Structu=True, Windows:=True

End Sub


"ilyaskazi" wrote:


on executing my workbook i need to disable copy/cut mode or any
modification in this workbook. User should able to see but prevent from
any modifications and to copy data/contents from my workbook.


--
ilyaskazi
------------------------------------------------------------------------
ilyaskazi's Profile: http://www.excelforum.com/member.php...o&userid=23969
View this thread: http://www.excelforum.com/showthread...hreadid=476081


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Lock to copy/ modification data


Great!!!!! It works.

Thankyou..


--
ilyaskazi
------------------------------------------------------------------------
ilyaskazi's Profile: http://www.excelforum.com/member.php...o&userid=23969
View this thread: http://www.excelforum.com/showthread...hreadid=476081

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
Lock Cell Format - Allow copy and paste of data without format change Chris12InKC Excel Worksheet Functions 2 May 9th 23 07:42 PM
copy cells but lock editing Lise Excel Discussion (Misc queries) 5 April 15th 10 12:39 PM
lock of copy command MANISH Excel Worksheet Functions 2 April 7th 09 06:08 PM
How to lock Excel files so that others can copy it & not chg it. SSurfer Excel Worksheet Functions 0 July 3rd 07 09:26 PM
I want to copy a formula down several rows and lock a cell ref. abcdbaker Excel Discussion (Misc queries) 3 November 24th 05 02:48 AM


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