Add minutes to a time (hh:mm) in excel vba -
i making production schedule, , add ex. 78 minutes time ex. 7:05 (am) in vba. how go doing this? have tried far, i'm getting error 13 type:mismatch
dim tuntilpump integer dim tfpump long, tstartpump long tup = 78 tfp = time(0, tup, 0) tsp = time(7,05,0) + tfp
i'm thinking has variable dimensions or format of times, have no idea i'm doing wrong. appreciated, , in advance!
Comments
Post a Comment