+ Reply to Thread
Results 1 to 4 of 4

Comparison of two Arrays

  1. #1
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,785

    Comparison of two Arrays

    Hi

    I am using the bellow code to compare two arrays but it is not comparing them the way I want

    Please Login or Register  to view this content.
    What I want this code to do is
    show msgbox like
    Muhammad---Bhatti
    Muhammad---Imran
    Muhammad---Muhammad

    Then
    Imran---Bhatti
    Imran---Imran
    Imran---Muhammad

    Then
    Bhatti---Bhatti
    Bhatti---Imran
    Bhatti---Muhammad

    Hope it makes sense

    Best Regards
    Imran Bhatti
    Teach me Excel VBA

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Comparison of two Arrays

    Hello Try this code
    Please Login or Register  to view this content.
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,785

    Re: Comparison of two Arrays

    Thanks Yasser
    It worked.

  4. #4
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Comparison of two Arrays

    You're welcome. Glad I can offer some help
    Regards

+ 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: 8
    Last Post: 10-14-2015, 11:58 AM
  2. storing multiple value in a single cell (through arrays or without arrays)?
    By mak51061 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-25-2014, 09:27 PM
  3. Declaring multiple multi-dimensional arrays (jagged arrays) - compile error?
    By dfribush in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-20-2013, 05:06 PM
  4. [SOLVED] New to arrays-where do I find a good beginners guide to multi dimensional arrays
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-04-2013, 07:44 PM
  5. Arrays Comparison stops with no results
    By icyrius in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-24-2013, 10:05 PM
  6. Comparison - Strings and Arrays
    By jbtenor1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-13-2006, 09:10 AM
  7. [SOLVED] Performance Comparison - Arrays versus Workbooks - Which is Faster?
    By james.igoe@gmail.com in forum Excel General
    Replies: 5
    Last Post: 07-05-2005, 05:05 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