+ Reply to Thread
Results 1 to 3 of 3

Automation help!

  1. #1
    Registered User
    Join Date
    05-15-2008
    Posts
    2

    Unhappy Automation help!

    This i hope is a simple explanation of a problem i have difficulty finding a solution for on google.

    in a cell i have =now() and it shows me the current time/date

    ok

    if i hit F9 it refreshes or calculates the sheet and updates that cell with the current time when i hit it.

    so

    how in the $%#$ can i automate me hitting F9 to recalculate or refresh the sheet (so the cell can be up to date) every 10 secs 30 sec...whatever.

    will i use a macro that loops or vba somehow.

    i thought this would be easy to find a solution however i guess i suck at research.............please help

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Say your formula is in A1.

    Enter the code below into a general module and run.

    Please Login or Register  to view this content.
    This will force a recalculation every 10 seconds.

    HTH

    rylo

  3. #3
    Registered User
    Join Date
    05-15-2008
    Posts
    2

    Smile

    awesome thanks
    i am using something now that seems to work as well...

    Sub sla()

    Do While zz < 1
    ActiveSheet.Calculate
    Application.Wait Now + TimeValue("00:00:59")
    Loop

    End Sub

    Tried yours.......wayyyyyyyyyyyyyyyyy better...thanks for the help
    Last edited by vicco; 05-16-2008 at 05:23 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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