Hi Tek-Tips people
The last time I tried any VB was back just before the turn of the century. I was pretty good at automating excel spreadsheets, but that's as far as my knowledge goes. I can have a go at doing this myself as long as I could just get some help on how to set up the array. I don't mind fumbling through trying to get it running. After all, how else can I learn do this better myself? Please let me know if perhaps I should break this question down into seperate threads. I can always come back here when I'm stuck. Thanks.
I'm not sure how best to explain what I require, but here goes:
I need an array (I assume) that can store the last seven days broken up into hour segments. I intend to use this array with a dropdown menu in an .hta form. I basically want to replicate the table which is from this website.
It changes every hour. The intention is to allow the user (ME ) to select any particular hour(s) and my program will download that hour(s) selected.
The array will store the following information:
Each of the last seven days including today
The day for each of the last seven days including today - Format Mon, Tue, Wed ...
The month associated with the last seven days (bearing in mind that there may have been a change of month in the previous seven days) - Format Jan, Feb, Mar...
The hours for each of the last seven days except that the last (or first?) hour will be this current hour less one. - Format 00.00, 01.00, 02.00, 03.00...
ie it's 9.04PM as I write this, but the array will store each hour for the last seven days starting (or ending?) at 8PM.
How can I display this in the form of a list with the ability to select any or all of the hourly segments?
The list would look like this (assuming today is Friday):
Sat, Aug, 11, 00.00
Sat, Aug, 11, 01.00
Sat, Aug, 11, 02.00
...
...
...
Fri, Aug, 17, 14.00
Fri, Aug, 17, 15.00
Fri, Aug, 17, 16.00
Have I explained this clearly enough? Please help. I believe I can do the rest of what I need, but this has me stumped.
Thanks very much in advance.
The last time I tried any VB was back just before the turn of the century. I was pretty good at automating excel spreadsheets, but that's as far as my knowledge goes. I can have a go at doing this myself as long as I could just get some help on how to set up the array. I don't mind fumbling through trying to get it running. After all, how else can I learn do this better myself? Please let me know if perhaps I should break this question down into seperate threads. I can always come back here when I'm stuck. Thanks.
I'm not sure how best to explain what I require, but here goes:
I need an array (I assume) that can store the last seven days broken up into hour segments. I intend to use this array with a dropdown menu in an .hta form. I basically want to replicate the table which is from this website.
It changes every hour. The intention is to allow the user (ME ) to select any particular hour(s) and my program will download that hour(s) selected.
The array will store the following information:
Each of the last seven days including today
The day for each of the last seven days including today - Format Mon, Tue, Wed ...
The month associated with the last seven days (bearing in mind that there may have been a change of month in the previous seven days) - Format Jan, Feb, Mar...
The hours for each of the last seven days except that the last (or first?) hour will be this current hour less one. - Format 00.00, 01.00, 02.00, 03.00...
ie it's 9.04PM as I write this, but the array will store each hour for the last seven days starting (or ending?) at 8PM.
How can I display this in the form of a list with the ability to select any or all of the hourly segments?
The list would look like this (assuming today is Friday):
Sat, Aug, 11, 00.00
Sat, Aug, 11, 01.00
Sat, Aug, 11, 02.00
...
...
...
Fri, Aug, 17, 14.00
Fri, Aug, 17, 15.00
Fri, Aug, 17, 16.00
Have I explained this clearly enough? Please help. I believe I can do the rest of what I need, but this has me stumped.
Thanks very much in advance.