Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2005
    Location
    Washington, DC
    Posts
    5

    Unanswered: AutoExec macro prevention when opening MDB in automation mode.

    Hi, folks!
    I want to open existing database so that it does not run AutoExec macro, by means of these VBA commands:

    dim app as application
    set app = new Application
    app.visible = false
    app.OpenCurrentDatabase <path to another MDB>


    I need just to explore these (many of them) "another" MDB's.

    Is there a way to programmatically open the database as if I did it manually with SHIFT key pressed?

    Thanks,
    --Igor

  2. #2
    Join Date
    Nov 2005
    Location
    Washington, DC
    Posts
    5

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •