Excel User Group
Microsoft Excel blogs, forums, files. Read, ask questions, provide answers.

Collections Can Be So Insensitive

I've never noticed this before, but the Key argument of the Add method for a collection is not case sensitive. That is, this throws an error: Sub testcollection()         Dim col As Collection         Set col = New Collection         col.Add "me", "me"     col.Add "Me", "Me"     End [...] Read More...

Read the complete post at http://www.dailydoseofexcel.com/archives/2009/02/27/collections-can-be-so-insensitive/


Posted Feb 27 2009, 03:32 PM by Daily Dose of Excel
Filed under:
Copyright Excel User Group and the relevant contributors, 2010. All Trade Marks acknowledged. This site is a peer-to-peer site and NOT affiliated in any way to Microsoft Corp. All rights reserved.