How do I show a running clock in Excel?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'd like to show a clock in cell A1 of Excel 2007. I'm familiar with NOW() and TODAY() but it doesn't refresh itself every 1 minute like I want it to. You know, like a running clock. I just want the current time in h:mm to be in cell A1. Is this possible? From this clock I will do further calculations like How long has it been since I last did Activity X, Y, and Z. Thanks SO. 回答1: See the below code ( taken from this post ) Put this code in a Module in VBA (Developer Tab -> Visual Basic) Dim TimerActive As Boolean Sub StartTimer() Start