Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Insert Rows in Protected Worksheet
I have a simple macro where the data is manipulated and
then the file is protected and saved as a new file. Then looped to repeat multiple times. I want the user of the new file to be able to insert rows. I see that Excel has several check boxes in the protection function; however, the ability to insert rows does not carry to the new file. What is the code to allow this in the newly created protected file? Thank you for your help |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Insert Rows in Protected Worksheet
Hi Kim
For 2002-2003 you can use this ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True _ , AllowInsertingColumns:=True, AllowInsertingRows:=True -- Regards Ron de Bruin http://www.rondebruin.nl "Kim Via" wrote in message ... I have a simple macro where the data is manipulated and then the file is protected and saved as a new file. Then looped to repeat multiple times. I want the user of the new file to be able to insert rows. I see that Excel has several check boxes in the protection function; however, the ability to insert rows does not carry to the new file. What is the code to allow this in the newly created protected file? Thank you for your help |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Insert Rows in Protected Worksheet
ActiveSheet.Unprotect Password:="your password goes here"
'code goes here ActiveSheet.Protect Password:="your password goes here" |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Insert/ Delete rows of a protected worksheet. | Excel Discussion (Misc queries) | |||
Allow Insert Rows in a protected worksheet | Excel Discussion (Misc queries) | |||
How do you insert & delete rows in a protected worksheet? | Excel Worksheet Functions | |||
Allow user to insert rows on protected worksheet | Excel Discussion (Misc queries) | |||
shared workbooks - protected worksheet - insert rows | Excel Programming |