+ Reply to Thread
Results 1 to 2 of 2

Move selected column to end of dynamic range

  1. #1
    Registered User
    Join Date
    09-06-2011
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    40

    Move selected column to end of dynamic range

    Hi

    I have a dynamic range with a number of columns. I'm trying to set up a macro which sends a selected column to the end of the range, I've got everything up to the selection of the column sorted.

    The procedure I have now cuts the selected column, and pastes it to a manual cell reference (e.g. cell F10) corresponding to the empty column at the end of the dynamic range. This leaves a gap where the column was cut.

    What I need is for the columns in the dynamic range to automatically shift to fill the gap and without any need to make a manual cell reference for where to paste (i.e. it automatically shifts the other columns in the dynamic range to the left to fill in the empty column left by the cut, and pastes the selected column in the gap left by the shifting of the dynamic range, at the rightmost edge of the dynamic range)

    EDIT* Accidentally posted in the wrong forum, could somebody please move this to the VBA section. Thanks.

    Thanks everybody.
    Last edited by RedWing; 09-10-2011 at 04:16 PM.

  2. #2
    Registered User
    Join Date
    09-06-2011
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    40

    Re: Move selected column to end of dynamic range

    Nm, fixed!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1