Macro to Display Time in Status Bar in ExcelLast reviewed: November 4, 1994Article ID: Q63134 |
SUMMARYThe following Microsoft Excel macro will display the current time in the status bar. The time will be updated every minute. This macro will run every minute until interrupted by pressing the ESC key.
A1: =MESSAGE(TRUE,TEXT(NOW(),"h:mm")) A2: =ON.TIME(NOW()+0.00069,"Time.xlm!time") A3: =RETURN()It is assumed that the macro sheet is named "Time.XLM" and that Cell is defined as "time". The time format "h:mm" can be changed to the desired format.
|
Additional reference words: 2.0 2.00 2.01 2.1 2.10 3.0 3.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |