Good morning,
I have an excel sheet with data in 4 columns, i am want to create a macro that delete the first column, i m using this code:
Columns("A:A").Select
Selection.Delete Shift:=xlToLeft
there is some merged cell (A:D), so the macro select the 4 columns. I learned this code using ''record macro'', but when i select the entire column manually, it just select one column, but when i use the macro, it select all 4.
Is there a way to select just one column with these merged cells??
thank you very much
I have an excel sheet with data in 4 columns, i am want to create a macro that delete the first column, i m using this code:
Columns("A:A").Select
Selection.Delete Shift:=xlToLeft
there is some merged cell (A:D), so the macro select the 4 columns. I learned this code using ''record macro'', but when i select the entire column manually, it just select one column, but when i use the macro, it select all 4.
Is there a way to select just one column with these merged cells??
thank you very much
