ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How Do I Protect A Worksheet But Allow Copying Columns (https://www.excelbanter.com/excel-discussion-misc-queries/62806-how-do-i-protect-worksheet-but-allow-copying-columns.html)

KMH

How Do I Protect A Worksheet But Allow Copying Columns
 
I need to protect a worksheet where I do scenario analysis. Each column is a
single scenario where some rows have inputs but most are protected. The trick
is I need to be able to copy a column and insert it next to or somewhere on
the worksheet while leaving the worksheet and the cells I want in the column
that is being copied protected?

Do I have to use VB to do this or is there another simpler way?

If I have to use VB -- suggestion on how to do this easily are appreciated.
Thanks.


Dave Peterson

How Do I Protect A Worksheet But Allow Copying Columns
 
I would protect the worksheet, then provide a macro that did:
unprotect, copy, paste, reprotect

If you record a macro when you do this, you'll be pretty close.

KMH wrote:

I need to protect a worksheet where I do scenario analysis. Each column is a
single scenario where some rows have inputs but most are protected. The trick
is I need to be able to copy a column and insert it next to or somewhere on
the worksheet while leaving the worksheet and the cells I want in the column
that is being copied protected?

Do I have to use VB to do this or is there another simpler way?

If I have to use VB -- suggestion on how to do this easily are appreciated.
Thanks.


--

Dave Peterson


All times are GMT +1. The time now is 06:56 AM.

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