+ Reply to Thread
Results 1 to 2 of 2

Countdown after button click

  1. #1
    Registered User
    Join Date
    02-24-2016
    Location
    Hungary
    MS-Off Ver
    2013
    Posts
    1

    Question Countdown after button click

    I would like to make a countdown, so I've set a cell, E1 with time format, and given 0:02:55 as start time. After that I try to make coutdown after button click with this code, but got an error, that it isn't runnable.

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2019
    Posts
    716

    Re: Countdown after button click

    Hi kovacsdev.. Welcome to the forum

    Try the code below. Enter a time to count down from in E1, press start & when the countdown =0 a message box displays.
    When message box Ok is pressed it quits the timer routine

    Put 2 buttons on the worksheet
    The Start button should be assigned to StartCountDown
    The Cancel button should be assigned to StopCountdown

    Normally I'd attach a workbook working example but the site won't do it AGAIN

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Running the code in an option button from a seperate normal button click
    By camikhazi in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 01-22-2016, 10:54 AM
  2. Button Click on Spreadsheet commanded by Button Click on Userform
    By Quilie19 in forum Excel Programming / VBA / Macros
    Replies: 33
    Last Post: 04-07-2015, 11:35 PM
  3. [SOLVED] click on a color button and after button click it will color entire row of cell you click
    By swade730 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-11-2014, 06:06 PM
  4. multiple cell with perdetermined 15min countdown with start and reset button
    By rexyang08 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-28-2013, 01:43 PM
  5. multiple cell with perdetermined 15min countdown with start and reset button
    By rexyang08 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-24-2013, 01:22 AM
  6. Countdown Timer Pause and Resume Button
    By table83 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-07-2010, 08:37 PM
  7. [SOLVED] [SOLVED] Create floating button based on button click in menu
    By ExcelMonkey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-12-2005, 02:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1