vba - Display number of hours -
this question exact duplicate of:
i've been trying find way show on listbox number of hours between time , time b, if thats hundred of hours. note: tiempoa taken "now" too, before time b.
dim tiempoa date dim tiempob date dim tiempoc date tiempoa = .offset(, -18).value tiempob = tiempoc = format(tiempoa - tiempob, "hh:mm") data(i, 5) = tiempoc
i've figured out.
tiempoa = .offset(, -18).value tiempob = tiempoc = datediff("h", tiempoa, tiempob) data(i, 5) = tiempoc
Comments
Post a Comment