Results 1 to 3 of 3

How to create a macro to populate selected required data on to a table ?

Threaded View

  1. #1
    Registered User
    Join Date
    10-08-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    How to create a macro to populate selected required data on to a table ?

    Hi guys,

    I need your help as I'm not familiar on how to create macros in MS Excel.

    I have a set of data relating to events which I extract from one of our databases on a regular basis. The event has a unique identifier which is the Event Id in column A as indicated in the Data Tab attachment. Each event has its own event details pertaining to each field (i.e. columns) as indicated in the Data Tab attachment.

    What I would like for the macro to do is to populate the selected / required data as per the column headings highlighted in green in the Data Tab attachment corresponding to each Event Id onto the relevant fields in the table as indicated in the Table Tab attachment. One table for one event.

    What I would also like for the macro to do is to be able to identify how many Event Ids there are in the Data Tab attachment and create / replicate the number of tables (including the relevant fields and cell / table formatting) required accordingly. For example, if there are 50 Event Ids in the Data Tab attachment then there will be 50 tables created / replicated prior to the selected / required data been automatically populated onto the relevant fields in each table corresponding to each Event Id.

    The tables should be listed in order corresponding to the Event Ids listed in the dataset even though the event Ids are not sorted by value from smallest to largest or vice versa. In addition, the dataset and tables need to be on separate tab / spreadsheet within the workbook.

    Thanks in advance for your help.

    Kind regards,

    Charles
    Attached Images Attached Images

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 8
    Last Post: 05-11-2013, 07:00 PM
  2. Urgent help required PLEASE: How to create a Macro to refreh data from the web
    By jenniferc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-14-2013, 11:47 PM
  3. Macro/VBA to populate information based on date selected from data validation list
    By anonDymous in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-12-2013, 11:03 AM
  4. Create macro to select only the required data and put a pivot
    By malekari in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-15-2013, 06:23 AM
  5. how to create a drop down list that will populate multiple cells after selected
    By aaronriggle in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-07-2012, 06:59 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