+ Reply to Thread
Results 1 to 3 of 3

VBA update label per second once I click a button

  1. #1
    Registered User
    Join Date
    07-16-2016
    Location
    Ph
    MS-Off Ver
    2013
    Posts
    1

    VBA update label per second once I click a button

    Hi! Ive been trying to update a timer that adds 15 per second once I click a button
    I can do it on a worksheet but I cant seem to work around a userform thanks!

    Basically this is what i want to happen
    Click Button
    Label + 1 every seconds
    Ends after 36 secs

    Thank you very much!

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,900

    Re: VBA update label per second once I click a button

    Hi, welcome to the forum.

    Take a look here, it explains the Application.OnTime rotuine and how to use it.
    If you Google for this you'll find many more hits
    https://msdn.microsoft.com/en-us/lib.../ff196165.aspx
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: VBA update label per second once I click a button

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    Crossposted here VBA update label per second once I click a button
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ 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. [SOLVED] User button to update graph series one row per click
    By cnash52 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-15-2016, 09:59 AM
  2. How to Copy and paste data by click Update Button
    By Nisar.mohammed in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-05-2015, 01:37 PM
  3. How to Arrange value in the chart by click update Button
    By Nisar.mohammed in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-01-2015, 09:25 AM
  4. VBA button that changes label when click ie. expand, collapse
    By jamesnos in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-27-2014, 08:32 PM
  5. How change label value for each click button ??
    By WILKER in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 11-02-2012, 12:25 PM
  6. UserForm, update after command button click
    By ker9 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-01-2010, 01:05 PM
  7. macro help: click button to update value of primary cell
    By uthminister in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-24-2009, 10:46 AM

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