+ Reply to Thread
Results 1 to 3 of 3

Change VBA to move last cells of a column

  1. #1
    Registered User
    Join Date
    06-19-2013
    Location
    brazil
    MS-Off Ver
    Excel 2007
    Posts
    64

    Change VBA to move last cells of a column

    Please, I need help to change a VBA code.

    I want to move the last 6 cells of B:B to A1.

    I found a code here:
    http://www.mrexcel.com/forum/excel-q...-copy-row.html

    And I've changed to:

    Please Login or Register  to view this content.
    The attached files show what the code is doing now.

    The column A:A is blank and I just want to move the last 6 rows of B:B to A1:A6, without affecting the other columns.
    The way the VBA is, I want it to find the word BOX, and move together with the 5 upper cells.

    I've tried to change it from scratch, but it must be a little better.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Change VBA to move last cells of a column

    Try the attached.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-19-2013
    Location
    brazil
    MS-Off Ver
    Excel 2007
    Posts
    64

    Re: Change VBA to move last cells of a column

    AB33, that's exactly what I need!

    Thank you very, very much!!!!!!!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] I want macro to Move content when certain cells change and to run automatically.
    By Mysstownsend in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-18-2013, 07:34 PM
  2. [SOLVED] macro to move column cells to another column row
    By kurapay in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-17-2012, 09:18 PM
  3. Replies: 2
    Last Post: 10-14-2009, 11:32 AM
  4. Auto-move cells per value change?
    By gandolff in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-18-2009, 11:37 PM
  5. Replies: 6
    Last Post: 08-04-2005, 10:05 AM

Tags for this Thread

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