Can you use a formula to combine the cells? Something like
=A1&B1
which will combine the contents of cell A1 and cell B1. Is this an option for you?
BarrieBarrie Davidson
Thanks for the idea, but that would requires that I keep the original column intact. I was looking for a macro copy and paste command.
Dave
Okay, how about this macro which will combine columns A and B.
Sub CombineColumns()
' Written by Barrie Davidson
Range("C1", Range("A65536").End(xlUp).Offset(0, 2).Address).FormulaR1C1 = "=RC[-2]&RC[-1]"
Range("C1", Range("C65536").End(xlUp).Address).Copy
Range("C1", Range("C65536").End(xlUp).Address).PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Application.CutCopyMode = False
ActiveCell.Select
End Sub
BarrieBarrie Davidson