View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
curlydave curlydave is offline
external usenet poster
 
Posts: 206
Default How to remove the seconds on a mirror = cell coded in VB?

Format your range to the time format you want or you could use this
code

Range("D8") = Format(Time, "h:mm AM/PM")