#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Time Format

Is there any way to custom time format to have milli-seconds also apart from
HH:MM:SS

tHANKS & rEGARDS
--
Dr. Sachin Wagh
MBBS, DHA, DPH
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Time Format

Hi,

Custom format of

hh:mm:ss.000

Put =Now() in the cell and Tap F9 and you'll see the time update including
milliseconds

Mike

"Dr. Sachin Wagh" wrote:

Is there any way to custom time format to have milli-seconds also apart from
HH:MM:SS

tHANKS & rEGARDS
--
Dr. Sachin Wagh
MBBS, DHA, DPH

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Time Format

Thanks a Ton Mike

You guys have kept Excel lively; the tip solves my problem. Just in case I'm
not stretching it too far, is there any method in which the F9 can be kept
continuosly operational (just like a watch)

Thanks & Regards
--
Dr. Sachin Wagh
MBBS, DHA, DPH


"Mike H" wrote:

Hi,

Custom format of

hh:mm:ss.000

Put =Now() in the cell and Tap F9 and you'll see the time update including
milliseconds

Mike

"Dr. Sachin Wagh" wrote:

Is there any way to custom time format to have milli-seconds also apart from
HH:MM:SS

tHANKS & rEGARDS
--
Dr. Sachin Wagh
MBBS, DHA, DPH

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Time Format

Hi,

Yes you can do that but need to bear in mind that while the workbook is
updating this clock the performance 'may' deteriorate. Try this.

Put these 2 short macros in 'This Workbook'

Private Sub Workbook_Open()
Application.OnTime Now + TimeValue("00:00:8"), "CalcMacro"
End Sub
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.OnTime dTime, "CalcMacro", , False
End Sub

And this one in an ordinary module

Public dTime As Date
Sub CalcMacro()
dTime = Now + TimeValue("00:00:08")
Application.OnTime dTime, "CalcMacro"
Application.Calculate
End Sub

You can set the time interval to update to what you want, currently set at 8
seconds.

Mike

"Dr. Sachin Wagh" wrote:

Thanks a Ton Mike

You guys have kept Excel lively; the tip solves my problem. Just in case I'm
not stretching it too far, is there any method in which the F9 can be kept
continuosly operational (just like a watch)

Thanks & Regards
--
Dr. Sachin Wagh
MBBS, DHA, DPH


"Mike H" wrote:

Hi,

Custom format of

hh:mm:ss.000

Put =Now() in the cell and Tap F9 and you'll see the time update including
milliseconds

Mike

"Dr. Sachin Wagh" wrote:

Is there any way to custom time format to have milli-seconds also apart from
HH:MM:SS

tHANKS & rEGARDS
--
Dr. Sachin Wagh
MBBS, DHA, DPH

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Time Format

Thanks Mike
--
Dr. Sachin Wagh
MBBS, DHA, DPH


"Mike H" wrote:

Hi,

Yes you can do that but need to bear in mind that while the workbook is
updating this clock the performance 'may' deteriorate. Try this.

Put these 2 short macros in 'This Workbook'

Private Sub Workbook_Open()
Application.OnTime Now + TimeValue("00:00:8"), "CalcMacro"
End Sub
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.OnTime dTime, "CalcMacro", , False
End Sub

And this one in an ordinary module

Public dTime As Date
Sub CalcMacro()
dTime = Now + TimeValue("00:00:08")
Application.OnTime dTime, "CalcMacro"
Application.Calculate
End Sub

You can set the time interval to update to what you want, currently set at 8
seconds.

Mike

"Dr. Sachin Wagh" wrote:

Thanks a Ton Mike

You guys have kept Excel lively; the tip solves my problem. Just in case I'm
not stretching it too far, is there any method in which the F9 can be kept
continuosly operational (just like a watch)

Thanks & Regards
--
Dr. Sachin Wagh
MBBS, DHA, DPH


"Mike H" wrote:

Hi,

Custom format of

hh:mm:ss.000

Put =Now() in the cell and Tap F9 and you'll see the time update including
milliseconds

Mike

"Dr. Sachin Wagh" wrote:

Is there any way to custom time format to have milli-seconds also apart from
HH:MM:SS

tHANKS & rEGARDS
--
Dr. Sachin Wagh
MBBS, DHA, DPH

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding time in 24 hour format to produce hours in decimal format Hercdriver Excel Worksheet Functions 11 December 29th 09 02:06 AM
Convert time stored as decimalised number to time format Emma New Users to Excel 1 April 29th 08 03:06 PM
Custom Cell format to mimic time format [email protected] Excel Discussion (Misc queries) 6 November 7th 06 09:17 PM
convert time imported as text to time format for calculations batfish Excel Worksheet Functions 3 October 27th 05 11:24 PM
Remove time from a date and time field? Format removes the displa. oaoboc Excel Worksheet Functions 1 February 16th 05 07:20 PM


All times are GMT +1. The time now is 06:06 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"