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 / April 2006

Tip: Looking for answers? Try searching our database.

Send a report through electronic mail at predetermined time

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Maran - 05 Apr 2006 11:48 GMT
I would like a report to be sent to the Top Management at 9.00PM Daily
without anyone running the Macro. I had already set a Macro for Sendobject.
But, the report is sent only when the Macro is run. I want to run it (send
the report ) on a daily basis at 9.00PM automatically. ( Even if no one is
available in office to run the Macro).
Eric Blitzer - 10 Apr 2006 13:32 GMT
I would use the the Windows task scheduler or any other scheduling product.
Using the windows scheduler...
-  add a Scheduled Task
-  migrate to Microsoft Access as the program you want to run
-  when you've completed the wizard, right click to view the properties of
the new task
   -  you'll need to add the path of your database, in quotes, to the end
of the existing string in the "Run" box.
   -  then, at the end of the path you just added, enter the following...
/x NameOfMacro
       -  it should look something like this:  "C:\Program Files\Microsoft
Office\Office\msaccess.exe" "C:\My Documents\MyDatabase.mdb" /x NameOfMacro
           --the first part may vary depending on the version of Access
you're running--

That should do it

> I would like a report to be sent to the Top Management at 9.00PM Daily
> without anyone running the Macro. I had already set a Macro for Sendobject.
> But, the report is sent only when the Macro is run. I want to run it (send
> the report ) on a daily basis at 9.00PM automatically. ( Even if no one is
> available in office to run the Macro).
 
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



©2010 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.