+ Reply to Thread
Results 1 to 2 of 2

Comparing Elements in Multiple Arrays

  1. #1
    Registered User
    Join Date
    12-13-2014
    Location
    Boston, MA
    MS-Off Ver
    MS Office 2013
    Posts
    53

    Comparing Elements in Multiple Arrays

    Hello all,

    I'm relatively new to VBA and would appreciate any help. I'm trying to compare arrays with names stored in them and remove and save the matching elements to a new array. I'm assuming I will have to run an if statement within a for each loop for each array that I compare. To clarify, the user will paste the daily roster of names onto a worksheet, lets call DailyROSTER. Then a macro should be run to compare the names in that list to four other lists with names (Wrap, Pit, Problem Solve, Inbound) to see if there is a match. If there is, I'd like the names to be saved into a new array and have this array populate a drop down list. I'd also like the array with the DailyROSTER names stored in it to update and exclude those names that have been removed. (Redimming?)

    At the very least, can someone show me how to save a worksheet's column that varies in size to an array? Thanks in advance!

  2. #2
    Forum Contributor
    Join Date
    03-10-2013
    Location
    Budapest, Hungary
    MS-Off Ver
    Excel 2007
    Posts
    125

    Re: Comparing Elements in Multiple Arrays

    Hello gibbsa08

    Here's help.
    Any other questions, ask.

    Goodbye
    Pan314


    If you liked it hit the star button
    Attached Files Attached Files

+ 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. Replies: 7
    Last Post: 10-07-2014, 10:15 AM
  2. Arrays elements is not returns the values to Calling function
    By amarendra19 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-21-2011, 12:44 AM
  3. Reorder elements a cell using arrays, split & join
    By k8_dog in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-12-2011, 01:58 PM
  4. Accessing elements within arrays
    By JP789 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-17-2009, 08:47 AM
  5. [SOLVED] Elements and Arrays in Excel
    By Lighthouseman in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-01-2006, 06:10 AM

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