Results 1 to 3 of 3
  1. #1
    taimysho0 is offline Competent Performer
    Windows XP Access 2000
    Join Date
    Nov 2011
    Posts
    286

    How to CLOSE Database in Macros


    How do i close my whole database using a macros? thanks

  2. #2
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    Are you wanting to close your database in a Macro that you have created?
    If so - there is a Macro Action called 'Quit' that you can use. It's been a while since I used Access 2000, but there should be a Quit command [or Exit??].

    Or are you talking about using a Macro command in your VBA code to close the database?
    In VBA, you should be able to just put
    DoCmd.Quit
    and that should close the Access database for you.

    Let me know if this answers your question.

  3. #3
    taimysho0 is offline Competent Performer
    Windows XP Access 2000
    Join Date
    Nov 2011
    Posts
    286
    thank you! solved it. was trying to use macros to close my database that i created

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

Similar Threads

  1. Split web database macros
    By dreday in forum Access
    Replies: 4
    Last Post: 11-29-2011, 02:55 PM
  2. Replies: 2
    Last Post: 06-20-2011, 03:10 PM
  3. Inherited database - macros don't work on new page
    By VictoriaAlbert in forum Access
    Replies: 3
    Last Post: 04-13-2011, 11:45 PM
  4. Macros??
    By Rosier75 in forum Programming
    Replies: 3
    Last Post: 02-01-2011, 01:55 PM
  5. Database that runs macros in another DB
    By BED in forum Programming
    Replies: 1
    Last Post: 10-01-2010, 11:20 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