+ Reply to Thread
Results 1 to 7 of 7

Excel VBA macro to select range separated by blank row and copy to next empty column

Hybrid View

hackini Excel VBA macro to select... 01-29-2013, 12:50 AM
hackini Re: Excel VBA macro to select... 01-29-2013, 01:12 AM
hackini Re: Excel VBA macro to select... 01-29-2013, 01:29 AM
jindon Re: Excel VBA macro to select... 01-29-2013, 01:34 AM
hackini Re: Excel VBA macro to select... 01-29-2013, 01:52 AM
jindon Re: Excel VBA macro to select... 01-29-2013, 02:02 AM
hackini Re: Excel VBA macro to select... 01-29-2013, 02:13 AM
  1. #1
    Registered User
    Join Date
    01-29-2013
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Excel VBA macro to select range separated by blank row and copy to next empty column

    I was able to copy the range to another sheet but I have no idea how to loop and do all of them and having a hard time copying to the same sheet.

    I used:

    
    Sub MoveCellRange()
        e1 = Sheets("Sheet1").Cells(2, 1).End(xlDown).Row
        Sheets("Sheet1").Rows("1:" & e1).Copy Destination:=Sheets("Sheet2").Range("A1")
    End Sub

    Thanks...
    Last edited by hackini; 01-29-2013 at 01:38 AM.

+ 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