+ Reply to Thread
Results 1 to 5 of 5

Paste on to next blank line not working

  1. #1
    Registered User
    Join Date
    10-07-2009
    Location
    England
    MS-Off Ver
    tbc
    Posts
    19

    Question Paste on to next blank line not working

    Please Login or Register  to view this content.

    This code isn't working, and I can't figure out why.

    It works fine the first time around, but then it replaces the same row from then on, rather than going to the next line.

    Please Login or Register  to view this content.
    Doesn't work either.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Paste on to next blank line not working

    Please Login or Register  to view this content.
    is correct

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    10-07-2009
    Location
    England
    MS-Off Ver
    tbc
    Posts
    19

    Re: Paste on to next blank line not working

    Thank you for your prompt reply.

    Please Login or Register  to view this content.
    This doesn't work, it still replaces the same line over and over.


    Please Login or Register  to view this content.
    Gives a debug error as the line "Sheets("strSheet").Range("B" & Rows.Count).End(xlUp).Offset(1).PasteSpecial xlValues" has nothing to refer to... the sheet that the information needs to be pasted on to is referenced in cell B6 and the code needs to reflect this. Unsure how to get this to happen with the given script.

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Paste on to next blank line not working

    I thought you have a sheet called strSheet

    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Paste on to next blank line not working

    If the sheet is not created.

    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)

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