+ Reply to Thread
Results 1 to 3 of 3

How to run an applcation at fixed intervals when enabled.

  1. #1
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Manchester England
    MS-Off Ver
    Excel 2010
    Posts
    992

    How to run an applcation at fixed intervals when enabled.

    I am designing an application which has two main parts.
    The first part takes data from an ODBC llnk, manipulates it and sends it out as a text file. This textfile is used by another application (not in excel)

    The other application generates a second text file and this is copied into a worksheet of my application and used as a feedback.

    My problem is that I need to run the second operation many times per day, but I can only run the main application once a day.

    What I would like to do is to automaticaly run the second operation say once a minute, then disable this while I am running the main application.
    I have not been able to find a way of doing this and would be grateful of some help

    Regards
    John

  2. #2
    Forum Contributor
    Join Date
    01-17-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    211

    Re: How to run an applcation at fixed intervals when enabled.

    You can start with the below and adjust it to your needs
    Put the below in a fresh module , Sub startingtimer is what you call when you decide to do you small import to compare.

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Manchester England
    MS-Off Ver
    Excel 2010
    Posts
    992

    Re: How to run an applcation at fixed intervals when enabled.

    hulpeloos,
    I have been working on your solution to my problem, and have now got bit working. It does just what I need. Thanks for your interest and help
    John

+ 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