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 / General 2 / March 2007

Tip: Looking for answers? Try searching our database.

macro startup on open

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark1 - 20 Mar 2007 15:22 GMT
I need to kick off a macro when my database is opened.  What is the easiest
way?  Can I do it through the Startup option on the Tools menu?  Or do I need
an event in my VBA code?  Thanks!
Rick Brandt - 20 Mar 2007 15:31 GMT
>I need to kick off a macro when my database is opened.  What is the easiest
> way?  Can I do it through the Startup option on the Tools menu?  Or do I need
> an event in my VBA code?  Thanks!

If you name the macro AutoExec it will happen automatically.

Signature

Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt   at   Hunter   dot   com

Mark1 - 20 Mar 2007 17:40 GMT
That is pretty darn cool, Rick.  However, I guess it doesn't work for
modules, eh?  I named one AutoExec and it didn't work.

> >I need to kick off a macro when my database is opened.  What is the easiest
> > way?  Can I do it through the Startup option on the Tools menu?  Or do I need
> > an event in my VBA code?  Thanks!
>
> If you name the macro AutoExec it will happen automatically.
 
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.