+ Reply to Thread
Results 1 to 4 of 4

Paste Value After Data

  1. #1
    Registered User
    Join Date
    02-20-2009
    Location
    las vegas, nevada
    MS-Off Ver
    Excel 2007
    Posts
    1

    Paste Value After Data

    I am attempting to copy data from sheet A (macro_sort) and paste value in sheet B (book) at the end of the data in sheet B. I am constantly adding data to sheet B so I need it to paste the new data after the existing data. I have included a copy of the code I am using. Currently it is pasting the data but not by value and not after the existing data; it is wiping out much of the existing data.

    Please Login or Register  to view this content.
    My macro skills are very very basic so I would appreciate any help in the most simplest of terms.

    Thank you
    Luke
    Last edited by luke6843; 02-20-2009 at 01:49 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Paste Value After Data

    Welcome to the forum.

    Please take a few minutes to read the Forum Rules, and then edit your post to wrap your code with Code Tags.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Paste Value After Data

    Try this
    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Paste Value After Data

    Luke, on an aside and given you're beginning your VBA journey note that this:

    Please Login or Register  to view this content.
    is equivalent to coding

    Please Login or Register  to view this content.
    if you want "a" to be a Long also you must declare explicitly in VBA

    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