I tried the below code to copy entire column from one page to other page.
I've common header that is June scattered in the sheet, I want to copy only the columns, with header name as "June" in the separate sheet one after the other.
EG if Col A, C,L,M has column header as June, then on the next sheet these should be only copied as A,B,C,D.
Sheets("sheet1").Select
June = WorksheetFunction.Match("Description", Rows("1:1"), 0)
Sheets("sheet1").Columns(June).Copy Destination:=Sheets("sheet2").Range("A1")