A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
If you just want the result of the formula, try
ActiveSheet.Range("E" & r).Value = ActiveSheet.Range("E1").Value
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi
I have a protected sheet contain formula in each row depends to above row( for example C2=C1+1; C3=C2+1;...).and cells contained these formula are locked.
I like to allow users to insert row everywhere by keeping formula without unprotecting the sheet. When I am clicking "insert row" while protecting the sheet, users could insert a row but the locked inserted cells are not including any formula and excel doesn't permit to copy formula of above cells. is there any solution?
Thanks
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
If you just want the result of the formula, try
ActiveSheet.Range("E" & r).Value = ActiveSheet.Range("E1").Value
I have the same problem I have a protected worksheet. I can insert a row when protected but the formula does not copy into the inserted row.(cell that are locked because they conta in a formula). I want to be able to have users insert the row and the formula copy in the locked cells. Can anyone help. Thanks
Thanks!
This is exactly what I needed!
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
Hello again HansV.
I have noticed a little bit of a problem with the spreadsheet since its been in use. There are a few allowances I make for people when they work in this spreadsheet while still under protection. However when they hit the insert row button that I have created it gets rid of those exceptions and locks up the spreadsheet without the allowances/exceptions.
Is there a way this can be fixed?
Thanks