+ Reply to Thread
Results 1 to 4 of 4

is there any book to teach System.Collections.ArrayList, System.Collections.SortedList,

  1. #1
    Registered User
    Join Date
    10-02-2017
    Location
    Sweden
    MS-Off Ver
    365 with Dynamic Arrays
    Posts
    90

    Question is there any book to teach System.Collections.ArrayList, System.Collections.SortedList,

    I am looking for a book to buy so that i can learn the use of System.Collections.ArrayList, System.Collections.SortedList and Scripting Dictionary used in Excel VBA.

    do you know any good book that explains these by example?

  2. #2
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: is there any book to teach System.Collections.ArrayList, System.Collections.SortedLis

    I am pretty sure those are from the .net framework. They arent specifically part of VBA itself nor any other language. They are part of a library/api. See here

    The example I know your question stems from used late binding as to not need to set the reference for it to work. The downside is you loose the intellitype predictive and help text as you write the code.

    A built in alternative would be to use a VBA collection. You could use a dictionary object as well but that also comes from a reference. There are trade offs to using these various data constructs. Typically VBA arrays are the fastest but can be a pain to deal with.

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: is there any book to teach System.Collections.ArrayList, System.Collections.SortedLis

    Not fully compatible in vba

    ArrayList

    https://msdn.microsoft.com/en-us/lib...v=vs.110).aspx

    SortedList

    https://msdn.microsoft.com/en-us/lib...v=vs.110).aspx

    If you google those keywords with my handle, you will find a few examples.

  4. #4
    Registered User
    Join Date
    10-02-2017
    Location
    Sweden
    MS-Off Ver
    365 with Dynamic Arrays
    Posts
    90

    Re: is there any book to teach System.Collections.ArrayList, System.Collections.SortedLis

    thank you both

+ 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: 3
    Last Post: 10-09-2016, 11:19 PM
  2. [SOLVED] How to use CreateObject("System.Collections.SortedList") in VBA
    By vnzerem in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-20-2013, 10:44 PM
  3. [SOLVED] ChangeFormat of column from English decimal system with a dot to French System with a ,
    By rajiv1988 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-27-2013, 04:31 AM
  4. Collections within class module collections
    By AndyLitch in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-14-2013, 06:00 AM
  5. CreateObject("System.Collections.ArrayList")
    By pike in forum Tips and Tutorials
    Replies: 4
    Last Post: 07-09-2012, 11:49 AM
  6. USER FORMS NOT WORK AT SYSTEM 32 Bits AND SYSTEM 64Bits
    By Flash_Azul in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-16-2011, 08:02 PM
  7. USER FORMS NOT WORK AT SYSTEM 32 Bits AND SYSTEM 64Bits
    By Flash_Azul in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-09-2011, 03:16 AM

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