Results 1 to 4 of 4

Copying data in the last line of one list to the bottom of another list

Threaded View

  1. #1
    Registered User
    Join Date
    05-20-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Red face Copying data in the last line of one list to the bottom of another list

    I have written this macro, which I'm afraid doesn't work. Could you please tell me what is wrong with my code? Many thanks.

    Sub Transfer_Click()
    For Each a In Range("b1:b10")
    If WorksheetFunction.IsText(a) = True Then a.Select
    Next a
    sel1 = Selection
    For Each b In Range("c1:c10")
    If WorksheetFunction.IsNumber(b) = True Then b.Offset(1, 0).Select
    Next b
    sel2 = Selection
    sel2 = sel1
    End Sub
    bluehaven
    Last edited by arlu1201; 05-20-2013 at 02:09 PM. Reason: Use code tags in future.

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