I am fairly new to using VBA in Excel but I was wondering is there a way to run multiple codes at the same time?
My goal is to do a few things, First I need to insert a column, then add a column header, then add a formula to the cell beneath and copy the formula for all rows.
so far I have this code to run to input the row and then the header, but it won't work unless i run them each separately. is there a text I need to input to combine them so when I run it it just runs the whole thing at once? Thank you!
Sub AddColumns()
Worksheets(1).Range("AH1").EntireColumn.Insert
End Sub
Sub AddHeader()
Worksheets(1).Range("AH1").Formula = "Group A"
End Sub