+ Reply to Thread
Results 1 to 4 of 4

Copy Multiple Cells to Next empty Cell on New Sheet

  1. #1
    Registered User
    Join Date
    05-22-2010
    Location
    London, england
    MS-Off Ver
    Excel 2003
    Posts
    3

    Copy Multiple Cells to Next empty Cell on New Sheet

    Okay - let me try and explain what I am trying to do. It should be pretty straight forward


    The below code copies the values for cells "K2,B8,G13 &K5" from Worksheet - Order_Sheet and pastes them into "N1,M1,L1,K1" on Worksheet - Database_Sheet - When I click on the Transfer button that I have linked to the Code.

    Which is great! However what I am trying to do is to keep a running database - so each time the button is clicked it should transfer the data to the next empty row for each cell I.E. N2,M2,L2,K2 - N3, M3, L3, K3 .... etc, etc

    As an additional bonus - if a message or popup box could be popup and say "the Data has been transfered"

    Please Login or Register  to view this content.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Copy Multiple Cells to Next empty Cell on New Sheet

    This will do that for you. I just used a "beep" at the end to indicate the data was transferred rather than a popup, but you can uncomment that last line of code and use that instead to get the popup. Popups are cool the first few times, then get irritating fast.
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    08-29-2010
    Location
    Lagos
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Copy Multiple Cells to Next empty Cell on New Sheet

    Hi Jerry,

    Assuming there are multiple sheets say about 50, what will the code look like?

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Copy Multiple Cells to Next empty Cell on New Sheet

    Something generic...this shows how to take the value from the same cell on all sheets and place then stacked on a Summary Sheet in column A.

    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