Consulting

Results 1 to 2 of 2

Thread: Opening Access From Excel Macro - Security Warning

  1. #1
    VBAX Newbie
    Joined
    Nov 2007
    Posts
    1
    Location

    Opening Access From Excel Macro - Security Warning

    Hi,

    I am working on an excel macro that opens an Access program and was wondering if there is a way to have my excel macro "click open" when the Security warning message comes up in Access (instead of having to manually click enter with my mouse). I have the code below which gets me to the point where the Security warning box pops up...

    LPath = Range("A25")
    Set oApp = CreateObject("Access.Application")
    oApp.Visible = True
    oApp.OpenCurrentDatabase LPath
    oApp.DoCmd.SetWarnings False

    Any help would be greatly appreciated. Thanks!

  2. #2
    VBAX Newbie
    Joined
    Dec 2007
    Posts
    2
    Location
    You might be able to use a Findwindow and Sendkey code combination.

Posting Permissions

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