Hello team,
I need to insert a blank column every second column after column R, for approximately 100 columns. Once inserted, I need to colour the new blank columns in yellow.
Basically, I need to split the columns of data I have with a blank column in between, so I can do some calculations.
I can do this through recording a macro, but it is obviously messy, and I would like to tidy it up.
Sub Insert_Columns()
Range("R:R").Insert
Range("T:T").Insert
Range("V:V").Insert
Range("X:X").Insert
Range("Z:Z").Insert
etc. etc.
Could I have help on a macro to suit please? Any help would be much appreciated.
Thank you very much,
Brad.
I need to insert a blank column every second column after column R, for approximately 100 columns. Once inserted, I need to colour the new blank columns in yellow.
Basically, I need to split the columns of data I have with a blank column in between, so I can do some calculations.
I can do this through recording a macro, but it is obviously messy, and I would like to tidy it up.
Sub Insert_Columns()
Range("R:R").Insert
Range("T:T").Insert
Range("V:V").Insert
Range("X:X").Insert
Range("Z:Z").Insert
etc. etc.
Could I have help on a macro to suit please? Any help would be much appreciated.
Thank you very much,
Brad.