Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Macros / January 2006

Tip: Looking for answers? Try searching our database.

Create a Macro to Open another Database

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
connie - 25 Jan 2006 14:29 GMT
Can I create a macro in one database that would open a second database (with
it's own switchboard menu)?  I want to have a button on a menu that would run
the macro.  

I can't figure out where to start.  Help!
Thanks
Steve Schapel - 25 Jan 2006 18:26 GMT
Connie,

Use the RunApp action in your macro.  The syntax for the Command Line
argument would be something like this...
 "C:\Program Files\Microsoft Office\...\Msaccess.exe"
"C:\YourFolder\YourDb.mdb"

Signature

Steve Schapel, Microsoft Access MVP

> Can I create a macro in one database that would open a second database (with
> it's own switchboard menu)?  I want to have a button on a menu that would run
> the macro.  
>
> I can't figure out where to start.  Help!
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.