PC Review


Reply
Thread Tools Rate Thread

How to close Access from Excel VBA

 
 
=?Utf-8?B?U3RldmUgUA==?=
Guest
Posts: n/a
 
      11th Oct 2007
Hi,
I'm programming a macro in Excel and would like the code to first shut down
MS Access if it is already open before proceeding throught the script.

How can I close Access from Excel in that manner?
 
Reply With Quote
 
 
 
 
Jim Cone
Guest
Posts: n/a
 
      11th Oct 2007

http://support.microsoft.com/kb/210518/en-us
"How to Use the Quit Method to Quit Access from Another Program"
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)




"Steve P"
wrote in message
Hi,
I'm programming a macro in Excel and would like the code to first shut down
MS Access if it is already open before proceeding throught the script.

How can I close Access from Excel in that manner?
 
Reply With Quote
 
=?Utf-8?B?U3RldmUgUA==?=
Guest
Posts: n/a
 
      12th Oct 2007
Perfect...THANKS JIM!

"Jim Cone" wrote:

>
> http://support.microsoft.com/kb/210518/en-us
> "How to Use the Quit Method to Quit Access from Another Program"
> --
> Jim Cone
> San Francisco, USA
> http://www.realezsites.com/bus/primitivesoftware
> (Excel Add-ins / Excel Programming)
>
>
>
>
> "Steve P"
> wrote in message
> Hi,
> I'm programming a macro in Excel and would like the code to first shut down
> MS Access if it is already open before proceeding throught the script.
>
> How can I close Access from Excel in that manner?
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007: Formula bar text flicker, can't access other openworkbooks or close Excel. dbKemp Microsoft Excel Programming 0 12th Mar 2010 12:32 PM
How to close Access from Excel VBA =?Utf-8?B?U3RldmUgUA==?= Microsoft Access VBA Modules 2 12th Oct 2007 07:50 AM
Excel automation from Access - Excel instance won't close Andrew Microsoft Access 2 11th Sep 2007 02:45 PM
Excel automation from Access - Excel instance won't close Andrew Microsoft Access 0 5th Sep 2007 10:41 PM
Using access to close excel =?Utf-8?B?SmFtZXMgQy4=?= Microsoft Access VBA Modules 0 17th Dec 2004 10:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:34 PM.