Hi,
in E2 i have 1390700
in E1 i have =E2/86400 formatted as [h]:mm:ss
e2 displays - 386:18:20
how can i get the displayed value in VBA
i have tried formatting the value in vba
by using
u = Format(range("e2").value / 86400, "[h]:mm:ss")
i get ":01:20"
how can i u to show 386:18:20
i dont need it in a time format as the value is only being put into an email, for a visual affect only.
Hope this is of use, Rob.![[yoda] [yoda] [yoda]](/data/assets/smilies/yoda.gif)
in E2 i have 1390700
in E1 i have =E2/86400 formatted as [h]:mm:ss
e2 displays - 386:18:20
how can i get the displayed value in VBA
i have tried formatting the value in vba
by using
u = Format(range("e2").value / 86400, "[h]:mm:ss")
i get ":01:20"
how can i u to show 386:18:20
i dont need it in a time format as the value is only being put into an email, for a visual affect only.
Hope this is of use, Rob.
![[yoda] [yoda] [yoda]](/data/assets/smilies/yoda.gif)