+ Reply to Thread
Results 1 to 4 of 4

Run macro on specific times automatically

Hybrid View

nicolasphilipp Run macro on specific times... 07-07-2009, 11:11 AM
StephenR Re: Run macro on specific... 07-07-2009, 12:06 PM
nicolasphilipp Re: Run macro on specific... 07-08-2009, 08:21 AM
romperstomper Re: Run macro on specific... 07-08-2009, 08:23 AM
  1. #1
    Registered User
    Join Date
    10-21-2008
    Location
    Sweden
    Posts
    18

    Run macro on specific times automatically

    Hi,

    I have built a macro that copies values from one sheet to another within the same book and performs some calculations on these data. At present I have to press a button to run the macro, but I wonder if there is any way that I can make the macro auto-run on times specified by me, say at 9:00, 10:00, 12:00, 15:30 17:00 and 17:30. The file is always open as it needs to collect data from another application.

    Anyone?

    Thanks in advance!!

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Run macro on specific times automatically

    Have a read of this: http://www.ozgrid.com/Excel/run-macro-on-time.htm

  3. #3
    Registered User
    Join Date
    10-21-2008
    Location
    Sweden
    Posts
    18

    Re: Run macro on specific times automatically

    thanks! cant quite get it to work though... I get an error on the OnTime function. Might be doing something wrong, i'll keep at it a bit more though. I have excel 2003, do you think that matters?

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,009

    Re: Run macro on specific times automatically

    No, it works fine in 2003. What code are you actually using, and what specific problems are you having?
    Everyone who confuses correlation and causation ends up dead.

+ 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