+ Reply to Thread
Results 1 to 17 of 17

Auto populate data

  1. #1
    Forum Contributor
    Join Date
    09-02-2010
    Location
    singapore
    MS-Off Ver
    Excel 2010
    Posts
    283

    Auto populate data

    Hi Pros,

    I have a workbook. It contains individual data in individual sheets.
    Would like to check if there is any formula or macro to auto populate data in individual sheet into a main sheet called "expired bills"?

    I attached a sample here for better understanding.

    Really appreciate your help here.
    TIA.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    09-02-2010
    Location
    singapore
    MS-Off Ver
    Excel 2010
    Posts
    283

    Re: Auto populate data

    I found this code from on the the post. It is post by @Marc L.
    I have change the name of the sheet from "Combined" to "EXPIRED BILLS"
    May i know how can i modify to copy sheet C, D, E and so on?

    Please Login or Register  to view this content.

  3. #3
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,712

    Re: Auto populate data

    Hi cyee,

    Try below code ...

    Please Login or Register  to view this content.
    If I was able to help, you can thank me by clicking the * Add Reputation under my user name

  4. #4
    Valued Forum Contributor
    Join Date
    06-29-2014
    Location
    Australia
    MS-Off Ver
    MSO 365
    Posts
    1,098

    Re: Auto populate data

    Hello Cyee,

    I assume that you just want all data from all source sheets transferred to the destination sheet. If so, this may help:-

    Please Login or Register  to view this content.
    I hope that this helps.

    Cheerio,
    vcoolio.

  5. #5
    Forum Contributor
    Join Date
    09-02-2010
    Location
    singapore
    MS-Off Ver
    Excel 2010
    Posts
    283

    Re: Auto populate data

    Quote Originally Posted by nankw83 View Post
    Hi cyee,

    Try below code ...

    Please Login or Register  to view this content.
    Hi nankw83,
    Your code work amazing on my sample files.
    However, it doesnt work well on my actual file.

    Sorry forgot to inform you guys that, the data on Tab A,B,C,D and so on are paste link from another workbook.
    So it contain formula on tab a,b,c, & etc.

    Possible to modify?

  6. #6
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,712

    Re: Auto populate data

    How about now ?

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    09-02-2010
    Location
    singapore
    MS-Off Ver
    Excel 2010
    Posts
    283

    Re: Auto populate data

    Nope. It dont work. it only copy 1st sheet.
    May i know it is because of the name on the sheet? Actual I name it as person name.

  8. #8
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,712

    Re: Auto populate data

    I didn't get it ... Did you get any error ? Do all the sheets start from cell A1 like your sample ? The code will basically copy all the sheet into sheet "EXPIRED BILLS" irrespective of the sheet name

  9. #9
    Forum Contributor
    Join Date
    09-02-2010
    Location
    singapore
    MS-Off Ver
    Excel 2010
    Posts
    283

    Re: Auto populate data

    Quote Originally Posted by nankw83 View Post
    How about now ?

    Please Login or Register  to view this content.
    Opps it work!!! but how can i delete row with blank data?
    Attached Files Attached Files

  10. #10
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,712

    Re: Auto populate data

    Is it blank or zeros ? Also, can I use column A as a reference to delete the rows ?

    PS: Please don't quote the whole post, it just clutters the thread. If needed, just quote the needed part

  11. #11
    Forum Contributor
    Join Date
    09-02-2010
    Location
    singapore
    MS-Off Ver
    Excel 2010
    Posts
    283

    Re: Auto populate data

    Yes. You can use column A as a reference to delete the rows.

    I realized if i run the macro again it will copy the same data one more time. Is it possible to delete original data before it copy again?

  12. #12
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,712

    Re: Auto populate data

    Quote Originally Posted by nankw83 View Post
    Is it blank or zeros ?
    Yes, that's possible but you didn't answer my question

  13. #13
    Forum Contributor
    Join Date
    09-02-2010
    Location
    singapore
    MS-Off Ver
    Excel 2010
    Posts
    283

    Re: Auto populate data

    It is 0 :P

  14. #14
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,712

    Re: Auto populate data

    Please Login or Register  to view this content.

  15. #15
    Forum Contributor
    Join Date
    09-02-2010
    Location
    singapore
    MS-Off Ver
    Excel 2010
    Posts
    283

    Re: Auto populate data

    wow... PERFECT!!!!!!

    Can i request one more change.

    To input header on the first row.
    Last edited by cyee; 08-14-2020 at 07:09 AM.

  16. #16
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,712

    Re: Auto populate data

    Hi cyee,

    This should take care of the header as well & thanks for the reps

    Please Login or Register  to view this content.

  17. #17
    Forum Contributor
    Join Date
    09-02-2010
    Location
    singapore
    MS-Off Ver
    Excel 2010
    Posts
    283

    Re: Auto populate data

    Thanks Alot!!!

+ 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. Auto-populate data from all sheets except one
    By christab in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-19-2016, 10:33 AM
  2. Replies: 7
    Last Post: 08-26-2015, 12:19 PM
  3. auto populate data
    By tjxc32m in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-09-2013, 04:30 AM
  4. Auto populate data
    By arrush in forum Excel General
    Replies: 1
    Last Post: 09-16-2013, 06:29 PM
  5. Auto populate data from another table
    By pphg in forum Excel General
    Replies: 4
    Last Post: 08-22-2012, 09:37 AM
  6. Replies: 3
    Last Post: 02-28-2012, 11:54 AM
  7. Excel 2007 : Data auto populate
    By Martin Chamberlin in forum Excel General
    Replies: 7
    Last Post: 10-05-2011, 12:54 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