开发者

Excel - allow copy/paste but no data entry

开发者 https://www.devze.com 2022-12-08 15:24 出处:网络
I have an Excel sheet which is protected and a few contiguous cells which are editable. Is there a way I can allow a user to copy paste data into these cells, but the user should not be able to type i

I have an Excel sheet which is protected and a few contiguous cells which are editable. Is there a way I can allow a user to copy paste data into these cells, but the user should not be able to type in values directly into these cells? I am willing to accept a solution using VBA too.

Thanks in adva开发者_开发问答nce.

Regards, Anindya


Lock up all the cells so they can neither type nor copy into those cells.

You can ask the user to copy the cells they want.

Put a button on the Excel sheet that says "Paste details". When the click the buttton, use VBA code to paste the details at the specific cell range that you want.

0

精彩评论

暂无评论...
验证码 换一张
取 消