+ Reply to Thread
Results 1 to 4 of 4

Using a macro to copying data from 1 sheet, and pasting into next empty cell

  1. #1
    Registered User
    Join Date
    12-13-2012
    Location
    Northampton, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Using a macro to copying data from 1 sheet, and pasting into next empty cell

    Hi,

    I know that there are a few examples on how to do this but trial and error and proved to frustrating on this one.

    I need to enter data into specific cells and when the macro is run, it copies this data and pastes into the next available(empty) row in my database sheet.

    I copied the codebelow code from another thread, however i can't seem to be able to incorporate it into my specific example.

    Please Login or Register  to view this content.
    Please see below complete code i'm working with, the action needs to be completed twice for different data and then pasted into the emply cell Range for columns B and H:


    Please Login or Register  to view this content.
    Any help is greatly appreciated.

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

    Re: Using a macro to copying data from 1 sheet, and pasting into next empty cell

    I do not know this line Acti
    Please Login or Register  to view this content.
    , but try this line

    Please Login or Register  to view this content.

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

    Re: Using a macro to copying data from 1 sheet, and pasting into next empty cell

    This is recorded macro code, so I have removed the selelction bit of the code, but have not tested it.

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    12-13-2012
    Location
    Northampton, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Using a macro to copying data from 1 sheet, and pasting into next empty cell

    Thanks AB33,

    The second line helped a treat....works perfectly.

+ 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