+ Reply to Thread
Results 1 to 4 of 4

Populate table column with array

  1. #1
    Registered User
    Join Date
    09-22-2011
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    55

    Populate table column with array

    Hi,

    Help with code to automatically populate the "Suppliers Assigned" column on the table contained on the "Jobs" Sheet.
    This column is the abbreviated Supplier name for each order for a particular job.

    I presume the best option will be VBA that runs every time the Jobs Sheet opens.

    Sample sheet attached.
    Not sure if it effects the code however the various tables could have filters applied when the code runs.

    Thanks In advance.
    Brett
    Attached Files Attached Files

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Populate table column with array

    Longwinded macro in ThisWorkBook module.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Torachan,

    Mission statement; Promote the use of Tables, Outlaw the use of 'merged cells' and 'RowSource'.

  3. #3
    Registered User
    Join Date
    09-22-2011
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    55

    Re: Populate table column with array

    Thanks that works on your attached spreadsheet. I'll have to try getting it working in my live spreadsheet now

    Thanks
    Brett

  4. #4
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Populate table column with array

    it was your sample sheet - far better to upload a workbook that is representative of your actual data - then the solution is tailored to suit - the approach to the solution could well be entirely different.

+ 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. [SOLVED] Non-array Formula to SUM (Add) & populate table if value(s) exist in a range of IDs
    By bjnockle in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-10-2020, 02:37 PM
  2. How to read table in an array and populate a listbox with the array
    By waimea in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-01-2019, 11:43 AM
  3. Replies: 6
    Last Post: 09-25-2013, 10:08 PM
  4. Loop new messages containing a table, populate a dynamic array, paste array to Excel
    By laripa in forum Outlook Programming / VBA / Macros
    Replies: 1
    Last Post: 05-19-2013, 07:20 AM
  5. Do I need a table array formula to populate names from a list?
    By MajorT in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-19-2013, 11:03 AM
  6. Populate Access table with excel array
    By gnome_core in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-23-2009, 12:41 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