Hello all, great forum here. I have found many solutions to minor excel/VBA issues over the last few years. But I've never been stumped until now.
I have a several million lines of Forex data (not all in the same Workbook thankfully) in minute format and need to convert the minute data to 5 minute (or higher timeframes - up to Weekly). I found a converter that someone else has developed. It works in taking every five lines of minutes and combining into a single line of data but it doesn't respect the timestamps in the date column.
I am a novice when it comes to VBA (I just keep staring at the code) so if someone can take a look at the code and fix it so the DateTime is in YYYY-MM-DD HH:MM so each row should have the beginning time of YYYY-MM-DD HH:00 and then YYYY-MM-DD HH:05. There are many missing minutes, especially at the beginning of my data so I do not expect or desire to have a row for every 5 minute period, just when there is actual data.
I have attached the converter and some of my sample data for you to see. Thanks, in advance, for any and all help.
Patrick
Bookmarks