+ Reply to Thread
Results 1 to 4 of 4

Finding Last Row and Using to Copy

  1. #1
    Registered User
    Join Date
    07-30-2010
    Location
    Warrington, England
    MS-Off Ver
    Excel 2010
    Posts
    71

    Unhappy Finding Last Row and Using to Copy

    Hi, I'm looking to do something fairly simple. This involves copying a variable list of names from column A on Sheet1 to B1 on Sheet2. Here's the code I'm using..

    Please Login or Register  to view this content.
    Whenever I run this, I get a Type Mismatch error. I'm sure it can only be something basic but it's got me quite stuck. Can you help please?

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Finding Last Row and Using to Copy

    It should be .Range("A1:A" & LastRow) instead of Cells.

  3. #3
    Registered User
    Join Date
    07-30-2010
    Location
    Warrington, England
    MS-Off Ver
    Excel 2010
    Posts
    71

    Re: Finding Last Row and Using to Copy

    Many thanks...my excel ignorance knows no bounds....

  4. #4
    Forum Contributor
    Join Date
    10-21-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    110

    Re: Finding Last Row and Using to Copy

    Hello Mike_e,

    Here is the simplified code for your requirement

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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