ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Setting up and Configuration of Excel (https://www.excelbanter.com/setting-up-configuration-excel/)
-   -   How to disable copy and paste function in a protected sheet (https://www.excelbanter.com/setting-up-configuration-excel/134476-how-disable-copy-paste-function-protected-sheet.html)

Igneshwara reddy[_2_]

How to disable copy and paste function in a protected sheet
 
I have protected sheet with some data and few users should edit the specified
cells in the worksheet.

Everything is done but I need to disable copy and paste function to avoid
copy and paste in the cells, were in users should only type in the cells
where required.

Mike

How to disable copy and paste function in a protected sheet
 
Try this
Columns("G:G").Select 'Replace with your column or rows
Selection.Locked = False
Sheets("Sheet1").Protect Password:="your password here"

"Igneshwara reddy" wrote:

I have protected sheet with some data and few users should edit the specified
cells in the worksheet.

Everything is done but I need to disable copy and paste function to avoid
copy and paste in the cells, were in users should only type in the cells
where required.



All times are GMT +1. The time now is 08:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com