+ Reply to Thread
Results 1 to 14 of 14

copy the last entering data and show addresses sheets and cells from multiple sheets

  1. #1
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    copy the last entering data and show addresses sheets and cells from multiple sheets

    hi all
    I attached file the expected result is put in sheet report FROM A: F & H :K so what I want when change any cell from range (a:f) in any sheet except the sheet report then copy the last entering data or any change in the values have already existed
    If there is no clear please inform me
    I hope somebody help
    Attached Files Attached Files

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: copy the last entering data and show addresses sheets and cells from multiple sheets

    Did you also post your question at this link?
    https://www.mrexcel.com/board/thread...event.1157184/
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    Re: copy the last entering data and show addresses sheets and cells from multiple sheets

    hi Mumps this is not mine and this is different please read good my post and see my file inside I ask the last filling data added not all data also the addresses sheets and cells by the way I was searching in the internet to find like my post accidentally I found the file as in you attach link and copy my data that's why you think this is my post
    thanks
    Last edited by ABDELFATTA; 01-11-2021 at 11:29 AM.

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: copy the last entering data and show addresses sheets and cells from multiple sheets

    I don't quite understand what you want to do. For example, in the Report sheet you have IN1001 in D7. I assume that D7 was populated with that value when you entered IN1001 in cell D3 of Sheet2. If this is correct, what would happen if you next entered 580000 in cell E3 of sheet2? Where on the Report sheet would you copy 580000?

  5. #5
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    Re: copy the last entering data and show addresses sheets and cells from multiple sheets

    then 580000 should be in e7 this is relating the same row

  6. #6
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: copy the last entering data and show addresses sheets and cells from multiple sheets

    One problem I can see is how the address is entered in column I. For example, if you enter IN1001 in cell D3 of Sheet2, then "D3" would be pasted in column I. If you next entered "omar" in cell B3 of sheet2, then "B3" would be added in column I so that now cell I7 would contain "D3,B3". In other words, each time you enter a value in the same row in one of the sheets, the cell address would be added to column I so you could possibly have something like "D3,B3,A3,C3,F3,E3" if all the cells in row 3 of sheet2 were filled in non-consecutively. It would not be practical to return "A3:F3" in column I. Would this be OK.

  7. #7
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    Re: copy the last entering data and show addresses sheets and cells from multiple sheets

    I accept what you suggest but keep in your mind should do that for all sheets except sheet report

  8. #8
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: copy the last entering data and show addresses sheets and cells from multiple sheets

    Place this macro in the code module for ThisWorkbook.
    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    Re: copy the last entering data and show addresses sheets and cells from multiple sheets

    fantastic code ! many thanks for your assistance

  10. #10
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: copy the last entering data and show addresses sheets and cells from multiple sheets

    You are very welcome.

  11. #11
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    Re: copy the last entering data and show addresses sheets and cells from multiple sheets

    hi, Mumps could you mod your code ? I want when I enter data clear any data are existed in sheet report before copy to it another meaning a new data should replace old data not copy to the bottom
    Last edited by ABDELFATTA; 01-18-2021 at 07:06 AM.

  12. #12
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: copy the last entering data and show addresses sheets and cells from multiple sheets

    I'm not sure what you mean. Currently, the macro copies data to the bottom only when data is entered in a new, blank row in any sheet. If you change any existing data in any sheet, that new data replaces the old data in the "report" sheet. If you "clear any data are existed in sheet report before copy" the report sheet would be empty.

  13. #13
    Forum Contributor
    Join Date
    12-02-2020
    Location
    Asia
    MS-Off Ver
    2010 & 2016 insider(Windows 10 64-bit)
    Posts
    724

    Re: copy the last entering data and show addresses sheets and cells from multiple sheets

    I know about the macro how works when the first time fill data in blank row automatically copy to sheet report and if I change in other sheets automatically change in sheet report but what I want when I write a new data then clear any data have already existed in sheet report
    every time write or change in data before copy to sheet report then clear any data are existed another meaning any fill a new data or change ,it supposes beginning from row2 in sheet report

  14. #14
    Forum Contributor
    Join Date
    12-02-2020
    Location
    Asia
    MS-Off Ver
    2010 & 2016 insider(Windows 10 64-bit)
    Posts
    724

    Re: copy the last entering data and show addresses sheets and cells from multiple sheets

    just I agree with ABDELFATTA and the same problem and I would sharing this idea
    Last edited by abdo meghari; 01-18-2021 at 12:30 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Entering Data from Userform to Multiple Sheets
    By Haziq Haikal in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-24-2019, 03:46 AM
  2. Replies: 9
    Last Post: 08-14-2019, 05:32 PM
  3. [SOLVED] Hide/ unhide multiple sheets when entering data in a particular cell
    By jonhat in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-28-2017, 06:24 AM
  4. Question about entering data into multiple sheets at once
    By adamgm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-10-2015, 02:13 PM
  5. Replies: 8
    Last Post: 06-19-2014, 10:42 AM
  6. Replies: 2
    Last Post: 10-18-2013, 11:48 AM
  7. Copy data from nonconsecutive cells from multiple sheets to one.
    By Alorien in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-15-2010, 05:02 PM

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