Excel macro to count time

Setting the timer in Excel
Set handy reminders in Excel

When you're busy working in Excel and you need to remember to do something else later on, you can set a reminder for yourself using a macro.

This Excel macro does just this: it asks you for a reminder message and when it should show you that message. It then lets you work while it keeps time in the background.

Step by step: How the timer macro works

Step 1:

create timer macro in Excel step 1

Start in Excel by clicking the 'Developer tab > Visual Basic > Insert > Module' to add a new module. Type the procedure to display the message when the alarm goes off.

Step 2:

create timer macro in Excel step 2

The timer code is a separate procedure. It gets the time and a message from the user and then activates a timer that counts down. When the time expires, it runs the previous procedure.

Step 3:

create timer macro in Excel step 3

Test the macro by running it, setting a time and waiting. When you're done, provided you've added it to your personal workbook, you can add a button to your QAT or Ribbon to automatically run it anytime.