Hello,
I am looking for a better way to handle my arrays. I do an import of a sheet with 9601 rows and 20 columns. The number of rows is flexible, so sometimes its 9600 + header-row and sometimes its just 4800 + header-row.
So at first I count the number of rows (var RowLast) and divide by 96 (because each BL has 96 quarterhours).
This is my vba, which is working (any advice ?) :
In my first column are strings(names), which are changing each 96rows.
Instead of BLNames(i) I would like to use "String(2,1)". Is this possible ?
Example:
row 1 to 96, column 1: Audi A1
row 97 to 192, column 1: Audi A3
row 193 to 288, column 1: Audi A7
MsgBox(Audi A1(2,1))
MsgBox(Audi A3(2,1))
MsgBox(Audi A7(2,1))
Thanks in advance
Bookmarks