Results 1 to 5 of 5
  1. #1
    rcrobman is offline Not Expert Yet!
    Windows XP Access 2007
    Join Date
    Apr 2011
    Location
    Toronto
    Posts
    73

    Question Switch to Another Application that is running in the background.

    This was not as simple as I had hoped!
    Does anyone know how to bring an application to the foreground from within Access?
    For example - Access is the foreground application (full screen) and Excel is running in the background (or minimized). What is desired is a button on a form that will make the background application (Excel in this case) come to the foreground. The application in the background has built in functions to activate any other application that is running in the background.
    Sure hope I haven't missed it but a search of Access help, forums etc has not shown me the answer so far!
    Any help is appreciated!


    Thanks
    RCRobman

  2. #2
    NoellaG's Avatar
    NoellaG is offline VIP
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,044
    Hi,

    you can create an Excel application object and use it to bring the desired spreadsheet to the foreground.

    gr
    NG

  3. #3
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    DoCmd.RunCommand acCmdAppMinimize

    this should minimize the access window and take you to whatever the next underlying application is.

  4. #4
    rcrobman is offline Not Expert Yet!
    Windows XP Access 2007
    Join Date
    Apr 2011
    Location
    Toronto
    Posts
    73

    Smile

    Quote Originally Posted by rpeare View Post
    DoCmd.RunCommand acCmdAppMinimize

    this should minimize the access window and take you to whatever the next underlying application is.
    Ahhhhh always more than one way to solve a problem - didn't think of that - get rid of Access!
    Thanks for the help!
    RCRobman

  5. #5
    rcrobman is offline Not Expert Yet!
    Windows XP Access 2007
    Join Date
    Apr 2011
    Location
    Toronto
    Posts
    73
    Quote Originally Posted by NoellaG View Post
    Hi,

    you can create an Excel application object and use it to bring the desired spreadsheet to the foreground.

    gr
    NG
    That too might work.
    I think getting rid of Access is a better idea - probably simpler too!
    Thanks for the suggestion.
    RCRobman

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

Similar Threads

  1. Switch Statement in WHERE Clause
    By Gray in forum Queries
    Replies: 1
    Last Post: 06-02-2011, 06:50 AM
  2. Using SQL switch function MS Access
    By sandlucky in forum Queries
    Replies: 18
    Last Post: 03-31-2011, 08:49 AM
  3. Replies: 0
    Last Post: 08-26-2008, 09:22 AM
  4. Access application to Web based application
    By admaldo in forum Access
    Replies: 0
    Last Post: 06-12-2008, 06:22 AM
  5. Switch and Tables
    By UtilityRyan in forum Database Design
    Replies: 0
    Last Post: 06-12-2007, 03:49 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
  •  
Other Forums: Microsoft Office Forums