Hi,
I am new to macro recording and VBA. How do I make a macro cell independent? For example, I currently have:
i.e. minus 1 from the current value in the cell K4.![]()
Range("K4").Value = Range("K4").Value - 1
Say then I move the content of K4 to some new location, e.g. I've added a new row above so K4 has now been shifted to K5. How do I program it so that the macro automatically performs the original operation in the new arbitary location?
Thanks for any help
Bookmarks