Greetings,
I have some data which contains time stamps with the format m/d/yy h:m0, data every ten minutes. In cells B7 and B8 the user enters start and stop times respectively. From this I can calculate the row which would contain the stop time, displayed in D8. I have also calculated the number needed to add to each date to create 10-min intervals, displayed in cell D4. I have done a formula in EVERY cell in column A to fill in the times between start and stop, and a 0 is displayed after the final stamp. This, however, makes calculating the worksheet very long, and makes the file much bigger. I need a macro that does something like this (starting with cell A14, A13 = start time):
If A13<B8, display A13+D4, move to next cell and test.
else end
I am not experienced enough with VBA to write this code. Thanks for your help
I have some data which contains time stamps with the format m/d/yy h:m0, data every ten minutes. In cells B7 and B8 the user enters start and stop times respectively. From this I can calculate the row which would contain the stop time, displayed in D8. I have also calculated the number needed to add to each date to create 10-min intervals, displayed in cell D4. I have done a formula in EVERY cell in column A to fill in the times between start and stop, and a 0 is displayed after the final stamp. This, however, makes calculating the worksheet very long, and makes the file much bigger. I need a macro that does something like this (starting with cell A14, A13 = start time):
If A13<B8, display A13+D4, move to next cell and test.
else end
I am not experienced enough with VBA to write this code. Thanks for your help