Results 1 to 3 of 3
  1. #1
    Jrbeene86 is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    12

    Tried to auto run but password protected database

    Hello,



    I need to run a task on a password protected database nightly. However, when I try to use windows task scheduler I am prompted for a password before I can get to the autoexec to start. Any way I can get the task scheduler to enter this password?

    Should I have the task scheduler open say an excel file and put the vba in there to open the database and enter a password?

    Any ideas?

    Thanks!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    49,517
    You could try a VBScript and run the VBScript in the TaskScheduler.
    http://www.access-programmers.co.uk/...d.php?t=149802
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Jrbeene86 is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    12
    Awesome Thanks!!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. linking table in a password protected database
    By bdaniel in forum Programming
    Replies: 1
    Last Post: 01-04-2012, 01:25 AM
  2. Replies: 9
    Last Post: 12-02-2011, 08:52 AM
  3. Open a password protected MDB/MDW
    By abcc14 in forum Security
    Replies: 8
    Last Post: 11-02-2011, 07:41 AM
  4. Replies: 4
    Last Post: 09-14-2011, 12:33 AM
  5. Password protected Switcboard buttons
    By mar_t in forum Access
    Replies: 9
    Last Post: 07-23-2011, 08:13 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums - Senior Forums