ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   move entire column (https://www.excelbanter.com/excel-programming/434294-move-entire-column.html)

QB

move entire column
 
How can I move column H over to Column B using VBA. I want to insert it
between the existing Col A And B So that Col H becomes Col B and the
existing Col B becomes C, and so forth...

Thank you

QB

Bob Umlas[_3_]

move entire column
 
Sub MoveH()
Columns("H").Cut
Columns("B").Insert
End Sub
"QB" wrote in message
...
How can I move column H over to Column B using VBA. I want to insert it
between the existing Col A And B So that Col H becomes Col B and the
existing Col B becomes C, and so forth...

Thank you

QB




Otto Moehrbach[_2_]

move entire column
 
Record a macro while you do it. HTH Otto
"QB" wrote in message
...
How can I move column H over to Column B using VBA. I want to insert it
between the existing Col A And B So that Col H becomes Col B and the
existing Col B becomes C, and so forth...

Thank you

QB





All times are GMT +1. The time now is 08:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com