Mod. edit: CODE tags at all times please (per Forum Rules) - modified on your behalf on this occasion
Evening folks,
I'm working with time variables for the first time, and encountering some challenges. Here's what I'm trying to do :
Cell A14 = Start time of a movie as a time stamp
Cell A21 = End time of a movie as a time stamp
I want to get the duration of the movie and then in a column on a second sheet, create a column of durations in 5 minute increments which does not exceed the duration of the movie. For example, if the movie is 2 hours long it will create a column like this :
00:05:00
00:10:00
00:15:00
...
02:00:00
Here's how I've tried doing it. It creates the column of data, but it never meets my exit condition for the loop and I end up with an overflow for the 'i' integer and a column thousands of rows long full of time stamps.
If I could convert everything to an easier variable time such as an integer for just minutes, that would be convenient and I could make this work a lot easier. For example, convert MDuration from 02:00:00 to 120.
Thanks folks !
Bookmarks