I’m an occasional user of VBA so knowledge very limited.
I have worksheet columns A-G starting at row 4, cell H7contains a formula based on D4 and D7. I need some VBA which identifies whenCol A has a value in A11, A15, etc (every 4th row) and then copiesthe formula from H7 to every 4th row in Col H. Each time the formulais pasted it needs to look at Col D (current row) and Col D (current row -3). Ifthere is no value in Col A then nothing would happen.
Any help with this would be appreciated.
I have worksheet columns A-G starting at row 4, cell H7contains a formula based on D4 and D7. I need some VBA which identifies whenCol A has a value in A11, A15, etc (every 4th row) and then copiesthe formula from H7 to every 4th row in Col H. Each time the formulais pasted it needs to look at Col D (current row) and Col D (current row -3). Ifthere is no value in Col A then nothing would happen.
Any help with this would be appreciated.