Robert E Lee
Active Member
- Joined
- Aug 10, 2005
- Messages
- 266
Hi
I have a monthly spreadsheet which has a formula in each column on Row 2. Each month I wish to copy this formula to the next column. I am trying to use this code
where H, H2 & R are dynamic numbers. This fails for some reason which I cannot see. Can someone help
Many thanks
Rob
I have a monthly spreadsheet which has a formula in each column on Row 2. Each month I wish to copy this formula to the next column. I am trying to use this code
Code:
Range(Cells(2, H)).Copy Destination:=Range(Cells(2, H2), Cells(R, H2))
where H, H2 & R are dynamic numbers. This fails for some reason which I cannot see. Can someone help
Many thanks
Rob