I am trying to add multiple columns at the end of the existing data set and add multiple columns. Below is the code that I have working right now:-
Sub AddColumn()
Range("A1").Select
Selection.End(xlToRight).Select
ActiveCell.Offset(0, 1).Select
ActiveCell.FormulaR1C1 = "RFQ 1"
ActiveCell.Offset(0, 1).Select
ActiveCell.FormulaR1C1 = "RFQ 2"
ActiveCell.Offset(0, 1).Select
ActiveCell.FormulaR1C1 = "RFQ 3"
End Sub
However, the first issue is the code looks like a patch up job and I am not able to find any better solutions to this. Second is,if there is any accidental blank space in column headers then the whole thing might end up messing the existing data set. So, could you please provide a better workable solution to this. (Sorry, I am extremely new to the VBA environment).