Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Access 2003 VBA Programmer's Reference
This is the forum to discuss the Wrox book Access 2003 VBA Programmer's Reference by Patricia Cardoza, Teresa Hennig, Graham Seach, Armen Stein; ISBN: 9780764559037
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Access 2003 VBA Programmer's Reference section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 4th, 2005, 01:27 PM
Registered User
 
Join Date: Aug 2005
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default command-line to close access??

Hi All,

Please help...

I have a command line to open Access and execute a macro. But how do I close Access when the macro is executed successfully?

Thanks in advance!!

To open Access and execute macro:
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "\\database\mydb.mdb" /xMyMacro

 
Old June 12th, 2006, 02:28 PM
Registered User
 
Join Date: Jun 2006
Location: Leesburg, Florida, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to quickbasic22
Default

Thats an easy one. edit xMyMacro add at the end a quit-exit.
 
Old April 4th, 2011, 10:52 AM
Registered User
 
Join Date: Apr 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Greats Thanks

Hi,

Excellent sharing of information.
This really help me a lot.
Thank you.




Similar Threads
Thread Thread Starter Forum Replies Last Post
XQuery from command line Tomi XSLT 2 January 16th, 2008 01:58 PM
Asp Command Line dizzy1 Classic ASP Basics 1 August 30th, 2007 06:32 PM
Command line switches jaucourt Flash (all versions) 0 December 31st, 2004 07:29 AM
Command Object -- How to close db connection? wolfpack391 Classic ASP Databases 4 July 31st, 2004 05:28 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.