+ Reply to Thread
Results 1 to 2 of 2

Setting a Windows Scheduler Task via VB !

Hybrid View

  1. #1
    RAFAAJ2000
    Guest

    Setting a Windows Scheduler Task via VB !

    Hi all,

    I am looking for some VBA code that will enable me to add a Job to the
    Windows Scheduler so that Excel is started at a specified time, a specific
    workbook is then opened automatically, some data is updated and finally, the
    Application Closes down.

    I know this could easily be done via the Windows Interface, but I am curious
    to know how it is done programatically.

    I have been experimenting with some code but i am still not quite there.

    Regards.



  2. #2
    Vasant Nanavati
    Guest

    Re: Setting a Windows Scheduler Task via VB !

    If your VBA code is in Excel, it will not run unless Excel is open. So I'm
    not sure how you could accomplish this with pure VBA.

    --

    Vasant

    "RAFAAJ2000" <RAFAAJ2000@discussions.microsoft.com> wrote in message
    news:898FC5DC-0657-4A59-80F1-A8538B2DEB31@microsoft.com...
    > Hi all,
    >
    > I am looking for some VBA code that will enable me to add a Job to the
    > Windows Scheduler so that Excel is started at a specified time, a specific
    > workbook is then opened automatically, some data is updated and finally,

    the
    > Application Closes down.
    >
    > I know this could easily be done via the Windows Interface, but I am

    curious
    > to know how it is done programatically.
    >
    > I have been experimenting with some code but i am still not quite there.
    >
    > Regards.
    >
    >




+ 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