Suppose every 5 rows in a sheet I have a formula SUM which sums up 5 rows above. So in A6
I have =SUM(A1:A5)
and in A12
I have =SUM(A7:A11)
and so on moving down.
Is it possible to copy big range of values in Excel VBA to range A1:A1000
not destroying my formulas?
In other words. Wherever in destination is a value, overwrite it. If formula, leave it.
Is protecting formula cells a right direction to look for solution for my problem?
Update. I want to copy column E (contains only values) to column A (contains formulas in yellow cells, and values on white cells). I want to copy just the values to white cells, leaving yellow cells in peace (not destroying formulas).