+ Reply to Thread
Results 1 to 3 of 3

Launch Access and close Workbook at same time

  1. #1
    Registered User
    Join Date
    08-01-2016
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    17

    Launch Access and close Workbook at same time

    I am trying to launch an Access DB from Excel and close the worksheet that is launching Access at the same time, however it launches Access and then closes it along with the worksheet at the same time.

    Would love a way to only close the worksheet (or even Excel completely - really don't care) and keep the Access DB open afterwards.

    Here is the code I'm using at the moment:

    Please Login or Register  to view this content.
    Last edited by Moedeb27; 03-27-2017 at 06:27 PM. Reason: Anserwed

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Launch Access and close Workbook at same time

    Hi,

    You need to set the Usercontrol property as well
    Please Login or Register  to view this content.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Registered User
    Join Date
    08-01-2016
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    17

    Re: Launch Access and close Workbook at same time

    Thanks very much, works perfectly.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Auto Close Msg Box after Time Period & Close Workbook
    By GJF36 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-24-2015, 10:25 AM
  2. [SOLVED] Vba code to save and close an workbook on time ??
    By black7 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-18-2013, 02:35 PM
  3. [SOLVED] save without prompt and close the workbook at the same time
    By bta in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-27-2012, 06:43 AM
  4. Please help... How to close excel workbook in specified time
    By rcdgreat in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-26-2012, 04:01 PM
  5. cancel the on time method on workbook close
    By kennymcmack in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-10-2011, 11:49 PM
  6. Close workbook at specific time
    By rhudgins in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-11-2011, 03:45 PM
  7. Launch access report from Excel
    By Graham Terry in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-02-2007, 11:41 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1