+ Reply to Thread
Results 1 to 5 of 5

Move data

  1. #1
    Registered User
    Join Date
    11-25-2020
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    3

    Move data

    I have written this module and it does what I want but I also would like it to move to A4 and do the same, then move to A6 and do the same, until there is no data in column 1. Is there a way to automate this?

    Sub move_cells()
    Range("A2").Cut Destination:=Range("B1")
    End Sub

    here is a sample of my data

    Column A
    47.*Instant Coffee
    If you’re hooked on coffee (like I am), then you’re liable to go crazy when your coffee pot won’t turn on.
    48. ****** Pools
    You’re better off getting these at a flea market or yard sale. Believe it or not, there are*all sorts of things*you can do with them.
    49.*Landline Phone
    If the power goes out, a simple landline phone will continue to work.
    50.*Maps of Local Areas
    Most of us have gotten used to relying on Google Maps and GPS, but those could become things of the past. Paper maps never stop working.

    This is what I would like it to look like

    Column A Column B
    Instant Coffee If you’re hooked on coffee (like I am), then you’re liable to go crazy when your coffee pot won’t turn on.

    ****** Pools You’re better off getting these at a flea market or yard sale. Believe it or not, there are*all sorts of things*you can do with them.

    Landline Phone If the power goes out, a simple landline phone will continue to work.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Move data

    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    11-25-2020
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    3

    Re: Move data

    Thank you for your reply.

    This worked for a2 but then it moved all the data from column a to column b. What I also need it to do is move data from a4 to b3, a6 to b5, a8 to b7, etc

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Move data

    Sorry, missed that...
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-25-2020
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    3

    Re: Move data

    Thank you

+ 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. Capture particular Data and Paste into Sheet 3 PLUS Disect sort copy and move data.
    By Potholes in forum Excel Programming / VBA / Macros
    Replies: 34
    Last Post: 06-03-2019, 08:57 AM
  2. [SOLVED] move data from diff rows in 1 column into new columns based on dup data in another field
    By lxndeb in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-01-2014, 11:50 PM
  3. [SOLVED] IF data on opened worksheet has blank data then cancel macro and move onto next part
    By jonathan.haynes in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-01-2013, 07:11 AM
  4. Need to move data that matches criteria in cell and move to new worksheet
    By panagle in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-27-2013, 09:23 AM
  5. [SOLVED] Move Data to another Sheet append to bottom of list and create a CSV of data
    By thequiff in forum Excel Programming / VBA / Macros
    Replies: 41
    Last Post: 07-26-2012, 06:38 AM
  6. Replies: 1
    Last Post: 07-14-2008, 03:24 PM

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