View Single Post
 
Old 07-10-2018, 08:50 AM
d4okeefe d4okeefe is offline Windows 10 Office 2016
Advanced Beginner
 
Join Date: Apr 2013
Posts: 77
d4okeefe is on a distinguished road
Default

Where are you at in this project? (I returned from vacation.)

To respond to your most recent post, you initialize an array with parentheses, like so:
Code:
Dim WordCollection() as String
To also give the array a size, you can add a number or range inside the parentheses.

Code:
Dim WordCollection(70) As String
The elements available in this array are 0 through 70.

Or

Code:
Dim WordCollection(1 to 70) As String
The elements available here are 1 to 70.

Once the array is initialized, you can assign values to it.

Code:
WordCollection(0) = "Albania"
WordCollection(1) = "Algeria"
WordCollection(2) = "Austria"
Reply With Quote