Hi,
I'm looking for a way to read a csv file and copy the data in the csv file in a 2D array.
This is what my csv file looks like :
GroupName,DescriptionName,OwnerName
My array is defined the following way :
Dim groups(1000,2)
I know that this array will be big enough, and I don't want to have to use all the redim and other stuff, since I'm pretty new to vbscript and I only want to write some very easy to understand scripts. When I will use the data in the groups array, I will use a "if isEmpty" to make sure I'm not at the end of the array.
I'm really looking for something very easy to understand, without all the fancy stuff (validate if file exists, it it's empty, or whatever else).
Can anyone help me with this??
I'm looking for a way to read a csv file and copy the data in the csv file in a 2D array.
This is what my csv file looks like :
GroupName,DescriptionName,OwnerName
My array is defined the following way :
Dim groups(1000,2)
I know that this array will be big enough, and I don't want to have to use all the redim and other stuff, since I'm pretty new to vbscript and I only want to write some very easy to understand scripts. When I will use the data in the groups array, I will use a "if isEmpty" to make sure I'm not at the end of the array.
I'm really looking for something very easy to understand, without all the fancy stuff (validate if file exists, it it's empty, or whatever else).
Can anyone help me with this??