+ Reply to Thread
Results 1 to 4 of 4

Copy and paste values shifting 1 row down each time

  1. #1
    Registered User
    Join Date
    07-28-2010
    Location
    london, england
    MS-Off Ver
    Excel 2007
    Posts
    91

    Copy and paste values shifting 1 row down each time

    I have a results table which will be populated from different values each week and am aiming to create a button which will export these values to a summary sheet and paste into the next free row.

    Ideally everytime the button is pressed it will paste the values into the next free row.

    My attempt at the code is below. I think it's too basic as it works for the first button click, but doesn't seem to do anything after that.

    If possible I'd also like to see a timestamp on the same row of the summary sheet for when the data is exported to this location, but I can't get this to work and have so far failed using worksheet.change macros as it seems that pasting via vba doesn't trigger a change and as such am lost on this 1!

    Please Login or Register  to view this content.
    I've also attached a dummy worksheet.

    Thanks everyone,
    J.farr3ll
    Attached Files Attached Files
    Last edited by j.farr3ll; 05-14-2013 at 03:38 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Copy and paste values shifting 1 row down each time

    Try this in a code module

    Please Login or Register  to view this content.
    Elegant Simplicity............. Not Always

  3. #3
    Registered User
    Join Date
    07-28-2010
    Location
    london, england
    MS-Off Ver
    Excel 2007
    Posts
    91

    Re: Copy and paste values shifting 1 row down each time

    That looks great,

    thanks a lot.

  4. #4
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Copy and paste values shifting 1 row down each time

    Anytime bud

+ 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