Hi, hope you can help.

I have the following code which worked perfectly to insert 10 rows into a salary sheet when necessary.

HTML Code: 
I've since added an array formula into one of the columns and when you run the code, I get the error saying that you cant change part of any array.

I've tried different things but can't quite get it to work.

Thanks in anticipation.