Insert Row - Copy Formula From The Row Above

P

Phendrena

Hi,

Is there anyway that I can insert a row and have it copy the formula from
certain cells in the row above? Such as from the columns C & L?

Thanks,
 
P

Phendrena

Many thanks that has helped a great deal and works like a charm.
However, this only works on unproteced worksheets.

Is there any way using the following :-

ActiveSheet.Unprotect & ActiveSheet.Protect DrawingObjects:=True,
Contents:=True, Scenarios:=True

That i can get it to use a password?

Thanks,
 
D

Dave Peterson

Activesheet.unprotect password:="YourPasswordHere"
'code to insert the row and copy the formulas
ActiveSheet.Protect password:="YourPasswordHere", _
DrawingObjects:=True, Contents:=True, Scenarios:=True
 

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