+ Reply to Thread
Results 1 to 4 of 4

N/A in rows after last row copy

  1. #1
    Registered User
    Join Date
    05-26-2019
    Location
    UK
    MS-Off Ver
    2016
    Posts
    50

    N/A in rows after last row copy

    Hi, Could you please advise as to how I can solve the following?
    All I'm trying to do is simply copy over the data from one sheet to another but taking into consideration that it starts and ends on different rows, on the two sheets. While I'm able to copy it over, for some reason I'm getting 'N/A' in the last two rows on the 'Test' sheet. I assume that this is happening due to the "B1" vs "A3" but I already tried so many things to get around this and yet I'm still stuck on this thing.

    Please Login or Register  to view this content.
    I'd greatly appreciate any sort of help on this.
    Many thanks!

  2. #2
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: N/A in rows after last row copy

    Hi, your destination range has a different size than the one you are copying.
    That is the reason (the difference between 1 and 3)

    Cheers
    Erwin
    I started learning VBA because I was lazy ...
    Still developing.... being more lazy...

  3. #3
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: N/A in rows after last row copy

    maybe you can solve it in this way:
    Please Login or Register  to view this content.
    Cheers
    Erwin

  4. #4
    Registered User
    Join Date
    05-26-2019
    Location
    UK
    MS-Off Ver
    2016
    Posts
    50

    Re: N/A in rows after last row copy

    Thank you very much for such a quick response, Erwin.

+ 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] Formula to copy and paste multiple rows while skipping blank rows in the table
    By teton88 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-07-2018, 02:16 PM
  2. Replies: 3
    Last Post: 05-24-2018, 04:48 AM
  3. [SOLVED] copy rows out of a datasheet based on a code number and past these rows in a new sheet
    By Robert1311 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-11-2018, 11:41 AM
  4. [SOLVED] Insert Rows on Criteria and Copy content to Specific Cells in New Rows(Tables)
    By TheScott in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2015, 03:38 PM
  5. Macro copies rows based on condition, BUT rows copy in Wrong order. PLEASE HELP!
    By JAllard1990 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-16-2014, 04:33 PM
  6. [SOLVED] Identify duplicate rows and copy/Paste the first cell to all cells of equal rows
    By vs5 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-15-2014, 06:31 AM
  7. Copy the employee Ids to subsequent rows (approx 30 rows) using macro - Roster Type
    By Keerthi Raj in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-21-2013, 01:10 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