Results 1 to 4 of 4

Access Issue with Shift Key Not Disabling AutoExec Macro

  1. #1
    Jonescincy is offline Novice
    Windows 8 Access 2007
    Join Date
    Feb 2014
    Posts
    2

    Access Issue with Shift Key Not Disabling AutoExec Macro

    I've searched everywhere for help on this. I have a DB with an AutoExec macro. I created the DB from scratch. When I open the DB from Windows Explorer with the shift key held down the AutoExec macro still runs. If I have people on other computers open the same way it doesn't run. If I open Access first then hold the shift key down it doesn't run. I couldn't find any references to a shift key issue like this. I'm looking for an answer as to why there would be a difference on my PC between opening in WE or directly in Access. Has anyone heard of or experienced this?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    48,597
    This is new one to me. But I avoid the AutoExec macro. What does the macro do?
    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
    Jonescincy is offline Novice
    Windows 8 Access 2007
    Join Date
    Feb 2014
    Posts
    2
    It runs some queries and will eventually be writing reports out to folders. I don't do anything in VB nor do I care to. This has to be simple enough so other people can edit it in the future.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    48,597
    I don't know why one PC is behaving differently. Possibly a registry is messed up and finding it would be a nightmare. A reinstall of operating might be the only fix.

    Otherwise, alternative to the AutoExec would be to execute code (macro or VBA) behind a form that opens by default when the db opens.
    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.

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

Similar Threads

  1. Replies: 2
    Last Post: 08-19-2013, 01:14 PM
  2. Access AutoExec Macro Cannot Find Function
    By JuanTooTree in forum Access
    Replies: 3
    Last Post: 03-14-2013, 08:52 AM
  3. Replies: 7
    Last Post: 06-14-2012, 01:54 PM
  4. Replies: 2
    Last Post: 06-20-2011, 09:20 AM
  5. Disabling shift for design view
    By geek in forum Access
    Replies: 1
    Last Post: 12-09-2005, 11:38 PM

Posting Permissions

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