Problem: Data within a table in PowerPoint. Column 1 is date and time, in column 2 is a string signifying the event type, i.e. BMNT or SR or SS, etc.
I can read data from this table and put it into a multidimensional array if I make the data type Variant. when I run a bubble sort routine on the data as a variant it does not sort properly, i.e. chronological. If I dim the array as date and load the array with just the date column info, the bubble sort works fine. but I don't have the event string that matches the date/time. If I try to load the string data I get a type mismatch error.
Is there a way to specify different data types within an array?
Is there a better method to Sort the data than the bubble sort routine?
This would be so much easier in excel!
Any help would be appreciated.
Thanks
Ron
I can read data from this table and put it into a multidimensional array if I make the data type Variant. when I run a bubble sort routine on the data as a variant it does not sort properly, i.e. chronological. If I dim the array as date and load the array with just the date column info, the bubble sort works fine. but I don't have the event string that matches the date/time. If I try to load the string data I get a type mismatch error.
Is there a way to specify different data types within an array?
Is there a better method to Sort the data than the bubble sort routine?
This would be so much easier in excel!
Any help would be appreciated.
Thanks
Ron
Last edited by a moderator: