Perhaps a macro like this is what you are looking for?
Before you can run this macro you must add a folder named "C:\Myfiles" or you can change this line
ActiveWorkbook.SaveAs Filename:="C:\Myfiles\" & ActiveSheet.Name & "_" & i, FileFormat:=51
in the macro to save the created files to a folder of your choice.
To test run macro "MakeFiles"
Macro starts by making a copy of sheet1 and renames this to "data", then adds a sheet named "result"
Then macro sets an autofilter on sheet "data" and copies the filtered result to sheet "result". Macro then makes a file named "result_1.xlsx" saves this to folder "C:\Myfiles" and closes this file and clears sheet "result", activates sheet "data" and deletes the autofilter result.
Then a new autofilter is set in sheet "data" and result copied and file "result_2.xlsx" is created .......
As your data in column C not only contains year-month-day and hh and mm but also ss i.e.
value in C2 looks to be 2016-07-04 00:00 but in the formula bar is shows up as 2016-07-04 00:00:11 and the seconds make a small error in the filtering for every 30 minute set by the autofilter.
Alf
Bookmarks