View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Stephen[_27_] Stephen[_27_] is offline
external usenet poster
 
Posts: 1
Default place code where?

Hello, can someone explain how and where does this code go to get it to work?
Does it go in general macro or do I need to put in a module.

Private Function SecondsToTime(byval dSeconds as Double) _
as String
SecondsToTime = Format(DateAdd("s", dSeconds, "00:00:00"), "HH:mm:ss")
End Function


regards
Stephen