NiceButDim
Programmer
I hope that I am in the correct forum for this;
I want a simple macro that copies the cell that is to the left of my current cell, into my current cell.
When I record the macro it looks like this;
Range("C11").Select
Selection.Copy
Range("D11").Select
ActiveSheet.Paste
My problem is, the macro has hard coded reference to the cells that I was on when I recorded the macro (i.e. C11 & D11). How would I change this to say 'current cell' and 'cell to the left'.
Any help appreciated.
john.
I want a simple macro that copies the cell that is to the left of my current cell, into my current cell.
When I record the macro it looks like this;
Range("C11").Select
Selection.Copy
Range("D11").Select
ActiveSheet.Paste
My problem is, the macro has hard coded reference to the cells that I was on when I recorded the macro (i.e. C11 & D11). How would I change this to say 'current cell' and 'cell to the left'.
Any help appreciated.
john.