LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
KR KR is offline
external usenet poster
 
Posts: 121
Default application.match and multidimensional array?

I need to find out if certain values are in one part of a multidimensional
array. In the past I've used application.match against 1-dimensional arrays
to see if it throws an error (which tells me it isn't in the array).
Unfortunately I can't find any help for match or application.match in the
VBE help. Using XL2003 on Win2000.

Can I do the same thing with a multidimensional array, and if so, what is
the proper way to identify the array in the match? e.g. should I just have
the array name
(MySource())
or do I need to specify the part of the array to search
(MySource(1,))

Or do I have to copy the part of the array where I want to check for matches
to a new 1-D array? That would be inefficient, since I'll be looping and
adding hundreds (maybe thousands) of entries...but I have to find the
matches (or lack thereof), so I'm open to options.

I'd prefer not to deal with collections if there is a way to keep all this
in my array.

Thanks!
Keith

--
The enclosed questions or comments are entirely mine and don't represent the
thoughts, views, or policy of my employer. Any errors or omissions are my
own.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
check value with array, Application.Match Przemek Excel Programming 5 August 25th 05 12:09 PM
Referencing multidimensional array Jay Petrulis[_2_] Excel Programming 2 May 27th 05 02:23 AM
Using Application.match against one dimension of a multidimensional array? KR Excel Programming 1 January 24th 05 10:01 PM
Multidimensional Array DavidMoeller Excel Programming 4 August 12th 04 08:12 PM
MAX of Multidimensional Array ZZZ Excel Programming 2 November 15th 03 03:32 PM


All times are GMT +1. The time now is 11:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"