Hook
More breakout videos from this creator.
Want to add a real-time clock to your Excel sheets? Here's a quick way to do it! Select the cell where you want the clock to appear and enter this formula =NOW() to display the current date or press Ctrl + ; to display the current date. Press Ctrl + 1 to open Format Cells. Choose Time and select your preferred time format, then press OK. Now right click on the sheet tab at the bottom and select View Code. In the VB editor that opens, go to Insert and select Module. Paste this code. I'll pin the code in the comments below for easy reference. Sub Digital_clock() Range("B3").Value = Now Application.OnTime Now + TimeValue("00:00:01"), "digital_clock" End Sub Click this to run the code or Press F5. And your clock will start ticking. To make it look like a real digital clock, download a digital font style like 'Digital 7' from the web. That's it! A real time clock. Perfect for dashboards, attendance and live reports.