+ Reply to Thread
Results 1 to 6 of 6

VBS Solution to refresh/caiculate with variable timer.

  1. #1
    Registered User
    Join Date
    08-14-2012
    Location
    Sterling Heights, MI
    MS-Off Ver
    Excel 2007
    Posts
    6

    VBS Solution to refresh/caiculate with variable timer.

    Looking for VBA solution that will refresh/calculate the worksheet, using a start-stop button, I would like to control the refresh rate time.

  2. #2
    Forum Guru
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,450

    Re: VBS Solution to refresh/caiculate with variable timer.

    Why would you need a button?

    If you want to control the refresh rate then Enter a value in cell A1. Use that value with the ontime function to control the refresh rate.

    If you really want a button then a simple macro to to force a recalculate is all you need.


    Please Login or Register  to view this content.
    Last edited by mehmetcik; 02-21-2020 at 04:43 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    08-14-2012
    Location
    Sterling Heights, MI
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: VBS Solution to refresh/caiculate with variable timer.

    I'm looking for a certain pattern and as the workbook continually refreshes when the pattern shows I can stop the program record the data then restart the code, and adjust the refresh rate faster or slower

  4. #4
    Forum Guru
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,450

    Re: VBS Solution to refresh/caiculate with variable timer.

    Ok

    Try this example spreadsheet.

    Each time it calculates the Random number changes.

    Click on the Calculate Tab to Adjust the frequency of the calculation.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-14-2012
    Location
    Sterling Heights, MI
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: VBS Solution to refresh/caiculate with variable timer.

    Mehmetcik thanks for the codes, you've given me a lot to work with. Appreciate your work and help, I'll get back with you in a few days to let you know it works for me.
    again thanks a lot

  6. #6
    Registered User
    Join Date
    08-14-2012
    Location
    Sterling Heights, MI
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: VBS Solution to refresh/caiculate with variable timer.

    Mehmetck, Thanks for the code it's working for my needs, Thank you very much.

+ 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. Countdown timer Working BUT starting the timer repeatedly SPEEDS UP TIMER!
    By Vinospam in forum Excel Programming / VBA / Macros
    Replies: 67
    Last Post: 03-30-2019, 06:42 PM
  2. VBA solution to refresh data after network re-connection
    By Ahmed519 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-13-2017, 08:16 AM
  3. Simulated Elapsed Timer with refresh control
    By icyrius in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-11-2015, 10:06 AM
  4. Progress indicator or countdown timer while refresh macro is running
    By DanGres in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-14-2014, 09:21 PM
  5. Using a Global String Variable to Transfer Timer Event Data From API to Main Pgm
    By SDruley in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-05-2011, 02:49 AM
  6. what solution to auto refresh for import data from access
    By okl in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-05-2010, 06:46 AM
  7. I need a QueryTable.Refresh solution
    By Lucian Rosu in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2006, 06:15 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