A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

ArrayList or equiv in VBA?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 25th 06, 02:11 AM posted to microsoft.public.outlook.program_vba
external usenet poster
 
Posts: 5
Default ArrayList or equiv in VBA?

Hi,

I'm looking for something like ArrayList in VBA. I can't seem to find
anything...or is there a way to use the standard VB collections?

Thanks!

Ads
  #2  
Old July 25th 06, 05:18 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default ArrayList or equiv in VBA?

Am 24 Jul 2006 18:11:42 -0700 schrieb :

You can use collections:

Dim col as VBA.Collection
Set col=New VBA.Collection

or an array, e.g. for 10 items (0 to 9):

Dim ar(9) As Variant ' or As String etc.

or an expandable array:

ReDim ar(9) as Variant
...
ReDim ar(19)

If you need a chained list youŽd have to build that yourself.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
--
www.VBOffice.net --


Hi,

I'm looking for something like ArrayList in VBA. I can't seem to find
anything...or is there a way to use the standard VB collections?

Thanks!

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA guidance vortex2k4 Outlook and VBA 1 July 15th 06 08:10 AM
Outlook and VBA Peter Haynes Outlook and VBA 1 June 22nd 06 12:22 PM
Help with VBA and Outlook ms Outlook and VBA 2 April 21st 06 07:23 PM
VBA or VBScript goshute Outlook and VBA 1 March 29th 06 01:01 AM
Using VBA for Outlook and VBA for Access within Access Sardonic Outlook and VBA 1 March 17th 06 12:34 PM


All times are GMT +1. The time now is 03:02 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2014 Outlook Banter.
The comments are property of their posters.