+ Reply to Thread
Results 1 to 6 of 6

Auto-populate and sort data to a master worksheet from other sheets in a shared workbook

  1. #1
    Registered User
    Join Date
    06-28-2014
    Location
    Cumbria, England
    MS-Off Ver
    2013
    Posts
    3

    Auto-populate and sort data to a master worksheet from other sheets in a shared workbook

    I have never really used VBA and so am completely stuck at this problem. I need to create a macro which auto-populates a master worksheet from the individual sheets in a shared workbook and then automatically sort the combined data alphabetically.

    Sheet 1 is the master sheet . There will be an undetermined number of individual worksheets.

    Each worksheet will be identical, using columns A-F with row 1 having headings included.

    There will be a varying number of rows in each of the individual sheets.

    If possible I would like the macro to run every time data is entered into one of the individual worksheets and sort the combined data in the 'Master Sheet' alphabetically from A - Z.

    If anyone can help it would be much appreciated.

  2. #2
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Auto-populate and sort data to a master worksheet from other sheets in a shared workb

    it would be great if you provide master file and sample of individual files..
    Thanks - Naveed
    -----------------------------
    If the suggestion helps you, then Click * to Add Reputation
    To Attach File: Go Advanced>>Manage Attachments>>Add Files (In Top Right Corner)>>SelectFiles>>.........Locate Your File(s)>>Upload Files>>Done (In Bottom Right)
    1. Use [code] code tags [\code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    2. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Auto-populate and sort data to a master worksheet from other sheets in a shared workb

    Here is a similair question.

    http://www.excelforum.com/excel-gene...worksheet.html

    You could amend that to your need.

    If you are not able to do so, please add an excel file, without confidential information.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Registered User
    Join Date
    06-28-2014
    Location
    Cumbria, England
    MS-Off Ver
    2013
    Posts
    3

    Re: Auto-populate and sort data to a master worksheet from other sheets in a shared workb

    Hi Naveed, Oeldere,

    This is a shorter version of the workbook, I have entered a macro which populates the master sheet automatically when the data in th other sheets is altered however it doesn't sort them into alphabetical order which would be very useful.

    HardDrive Index test 1.xlsm

    Thankyou for your replies so far.

    Gemma

  5. #5
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Auto-populate and sort data to a master worksheet from other sheets in a shared workb

    Hi

    just add this below code to your code after "Next Sheet" and before "End Sub"
    Please Login or Register  to view this content.

  6. #6
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Auto-populate and sort data to a master worksheet from other sheets in a shared workb

    Hi

    just add this below code to your code after "Next Sheet" and before "End Sub"
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    06-28-2014
    Location
    Cumbria, England
    MS-Off Ver
    2013
    Posts
    3

    Re: Auto-populate and sort data to a master worksheet from other sheets in a shared workb

    Naveed,

    That's great! Thanks so much for your help!

    Gemma

  8. #8
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Auto-populate and sort data to a master worksheet from other sheets in a shared workb

    Quote Originally Posted by Gemma_g1985 View Post
    Naveed,

    That's great! Thanks so much for your help!

    Gemma
    hi Gemma

    1. If the suggestion helps you, then Click * to Add Reputation
    2. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

+ 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 to a master worksheet from other sheets in a shared workbook
    By JennyJAL in forum Excel Programming / VBA / Macros
    Replies: 45
    Last Post: 08-20-2021, 12:08 AM
  2. Auto-populate data to a master worksheet
    By caw886 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-09-2013, 12:20 PM
  3. Replies: 3
    Last Post: 09-07-2012, 06:29 PM
  4. Auto Populate Master Sheet with multiple sheets data
    By haley in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-26-2009, 04:29 AM
  5. how to auto populate data from multiple sheets to a master
    By Fosachy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-21-2009, 06:15 PM

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