+ Reply to Thread
Results 1 to 16 of 16

making the last row filled of every sheet to paste on the main sheet

  1. #1
    Registered User
    Join Date
    01-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    42

    making the last row filled of every sheet to paste on the main sheet

    hi,

    my need is that the data of a client is present in the particular sheet.i want to copy the last row that contains the recent meeting with the client so to make it easy i want that the last row of each sheet should go on the sheet naming "MasterSheet" on which all recent info with client is to updated.so last row contains the data starting from column B and copies well on the mastersheet but i want the client name as well to be put up on the COLUMN A on the mastersheet.as client name is in the cell D1 of every client data sheet.


    and whenever i add a new recent activity with the client in the specific client sheet it should change the recent info in the mastersheet of that particular client.


    you get the requirements...is it ok?? please help

    Please Login or Register  to view this content.

    this line of code pastes well the info but not the client name and the further needs.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: making the last row filled of every sheet to paste on the main sheet

    I am not clear where the client name resides in the sheet and what are all needs to be updated in master sheet


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    01-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: making the last row filled of every sheet to paste on the main sheet

    in every sheet the cell D1 contains the client name . the mastersheet contains the recent meeting info with the client that are copied from the other sheet containing all particulars present in the row.in short the data in a row is copied to the mastersheet.and i want the clinet name also goes present in cell D1 of any client data sheet..


    did u got it?? or i add the xls file with it??

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: making the last row filled of every sheet to paste on the main sheet

    It's clear but in which place the D1 client name should be copied into the master sheet? since you are copying the entire row from each sheet to master sheet so where the D1 of each sheet data should be marked in master sheet while pasting the row data from each sheets?

  5. #5
    Registered User
    Join Date
    01-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: making the last row filled of every sheet to paste on the main sheet

    it should be pasted in the column A in the master sheet as when the row is copied and pasted there is nothing present in the column A .so i want that column A of master sheet should have the client name that is present in cell D1 in all other sheets.

    please help asap...

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: making the last row filled of every sheet to paste on the main sheet

    Please attach a sample workbook with expected output for better understanding

  7. #7
    Registered User
    Join Date
    01-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: making the last row filled of every sheet to paste on the main sheet

    this is the file and u can understand that how to copy paste the data and the client name in the client row mentioned..the code is in "this workbook".
    Attached Files Attached Files

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: making the last row filled of every sheet to paste on the main sheet

    Try this...

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    01-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: making the last row filled of every sheet to paste on the main sheet

    it works..but an issue that if i add the same update to the client info sheet that is add a new recent meeting so when i run the code it should overwrite the recent info present at the mastersheet .now it is putting the data in the new row..my need is that if i add a new info about the client then that row copies and see if there is the same client name present in the mastersheet and if present it overwrites the row and if not then go to the next row and do the same.. addding a new data in a client sheet should copy and paste to that particular row that has the same client name..

    u get that???


    please help...thanks in advance.

  10. #10
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: making the last row filled of every sheet to paste on the main sheet

    Try this...

    Please Login or Register  to view this content.

  11. #11
    Registered User
    Join Date
    01-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: making the last row filled of every sheet to paste on the main sheet

    thanks a lot..everything is working fine ..thanks a lot once again.

  12. #12
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: making the last row filled of every sheet to paste on the main sheet

    Glad it helps you and thanks for the feedback

  13. #13
    Registered User
    Join Date
    01-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: making the last row filled of every sheet to paste on the main sheet

    everthing is fine..is it possible if the serial number (S.no) column in the client sheet should not come while coping and then pasting it to the mastersheet. remove the column b in the mastersheet..is it possible ..please help... ..as it feels awkward while looking it in the mastersheet .

  14. #14
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: making the last row filled of every sheet to paste on the main sheet

    Try this...

    Please Login or Register  to view this content.

  15. #15
    Registered User
    Join Date
    01-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: making the last row filled of every sheet to paste on the main sheet

    it is not ignoring the column of serial number.rather numbering it as 1. i want that it should not paste any value in master sheet as i will remove the serial number column from the mastersheet.

  16. #16
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: making the last row filled of every sheet to paste on the main sheet

    Oh My God, I believed that I avoided one step (Wrong Assumption), because I thought after clearing the B cell you will ask me to enter the continuous sl no's in your next post.

    Try the below code

    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)

Tags for this Thread

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