How to disable copy and paste function in a protected sheet

G

Guest

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.
 
G

Guest

Try this
Columns("G:G").Select 'Replace with your column or rows
Selection.Locked = False
Sheets("Sheet1").Protect Password:="your password here"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top