Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
QB QB is offline
external usenet poster
 
Posts: 57
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 320
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,071
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically Move Entire Row to Different worksheet George Excel Discussion (Misc queries) 6 January 25th 10 08:48 PM
Move entire row if it contains specified text. JFREE223 Excel Discussion (Misc queries) 13 June 5th 08 03:20 PM
Move entire row to another sheet and deleting the old row only. David Bogle Excel Worksheet Functions 0 October 29th 07 05:18 PM
Move an entire row to another sheet David T Excel Discussion (Misc queries) 0 October 4th 07 06:17 PM
Move contents of entire column Matthew[_11_] Excel Programming 4 May 27th 04 04:25 PM


All times are GMT +1. The time now is 11:45 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"