Greetings. I need to concatenate two cells using VBA, but keep ONE of those cell address absolute (the R[1].
I also need to have the code loop through the cells until finished.
Here's what I've got so far.
Do
ActiveCell.FormulaR1C1 = "=RC[1]&RC[2]"
ActiveCell.Offset(1, 0).Range("A1").Select
Loop Until IsEmpty(ActiveCell.Offset(0, 2)) = True
I've tried simply removing the [] which I thought turns the cell address into absolute. It's not working.
What, please, am I missing here??? I'm using Excel 2013.
I also need to have the code loop through the cells until finished.
Here's what I've got so far.
Do
ActiveCell.FormulaR1C1 = "=RC[1]&RC[2]"
ActiveCell.Offset(1, 0).Range("A1").Select
Loop Until IsEmpty(ActiveCell.Offset(0, 2)) = True
I've tried simply removing the [] which I thought turns the cell address into absolute. It's not working.
What, please, am I missing here??? I'm using Excel 2013.