Missing Time Stamps add blank row

googs91

New Member
Joined
Oct 13, 2019
Messages
3
I am trying to figure out how to build a macro to spot missing sequence and add in a new row when found.

There should be 1440 data points in column A
The date and time formatting goes as followed

10/10/2019 7:41
10/10/2019 7:42
10/10/2019 7:43
10/10/2019 7:44
10/10/2019 7:45
10/10/2019 7:46
10/10/2019 9:52
10/10/2019 9:53
10/10/2019 9:54
10/10/2019 9:55
10/10/2019 9:56

I would like the macro to find that its missing the data between 7:47 and 9:51 and add in blank rows. The time is also in military time so the format is
10/10/2019 00:00 thru 10/10/2019 23:59
what I have found in the formatting of the date and time is that every entry, which is one min apart, is .0006944444 off of the next.
<strike></strike>
 

googs91

New Member
Joined
Oct 13, 2019
Messages
3
I am trying to figure out how to build a macro to spot missing sequence and add in a new row when found.

There should be 1440 data points in column A
The date and time formatting goes as followed

10/10/2019 7:41
10/10/2019 7:42
10/10/2019 7:43
10/10/2019 7:44
10/10/2019 7:45
10/10/2019 7:46
10/10/2019 9:52
10/10/2019 9:53
10/10/2019 9:54
10/10/2019 9:55
10/10/2019 9:56

I would like the macro to find that its missing the data between 7:47 and 9:51 and add in blank rows. The time is also in military time so the format is
10/10/2019 00:00 thru 10/10/2019 23:59
what I have found in the formatting of the date and time is that every entry, which is one min apart, is .0006944444 off of the next.
<strike></strike>
Cross Posted

[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]https://www.excelforum.com/excel-programming-vba-macros/1292948-sequence-macro-help.html#post5209889[/FONT]
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
34,013
Office Version
365
Platform
Windows
Thanks for informing us that this has been resolved, but for future reference

While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 

Forum statistics

Threads
1,086,202
Messages
5,388,386
Members
402,115
Latest member
ypompoms

Some videos you may like

This Week's Hot Topics

Top