stickflipper
New Member
- Joined
- Dec 23, 2015
- Messages
- 9
I need to write a macro that will find, select two different cells then swap the contents of those cells.
I already have the macro that will swap the cells, what I need help with is selecting the cells.
The second cell is always 2 row down from the first.
i.e.
A3: xyz
A4: bdc
A5: 123
I want to select A3 and A5 via VBA so the swap macro can do it's thing.
I am lost, and floundering, I have tried several different things and rather than distract with my off the wall ideas thought I would ask what would be the best way to accomplish this.
Thanks
Rick
I already have the macro that will swap the cells, what I need help with is selecting the cells.
The second cell is always 2 row down from the first.
i.e.
A3: xyz
A4: bdc
A5: 123
I want to select A3 and A5 via VBA so the swap macro can do it's thing.
I am lost, and floundering, I have tried several different things and rather than distract with my off the wall ideas thought I would ask what would be the best way to accomplish this.
Thanks
Rick