PC Review


Reply
Thread Tools Rate Thread

Automate Excel Print with Access Macro

 
 
philip260@gmail.com
Guest
Posts: n/a
 
      1st Nov 2006
Hello all.

I'm running queries that dumps data to excel spreadsheets to form a
report every morning on a timer form in access. These reports are then
manually ran from an access button that opens the excel reports and
then i have to manually print it out. This process takes about 20 min
or so and i wanted to know if there is a way to automate the process.
Is there a way that i can automatically print these excel spreadsheets
from access? Like a xlwork.print function or something. I would like to
put something in the timer form that states that at a certain time in
the morning after the append queries have ran, these reports will run
into excel and print it automatically and then close the report once it
is done. Is this possible? Any help would be appreciated. Thanks!!!

 
Reply With Quote
 
 
 
 
Joel Allen
Guest
Posts: n/a
 
      1st Nov 2006
I have a report that I genterate everyday also. I run a macro that runs a
query. I have this set up on a timer from Windows scheduler to runs
everyday at noon. In the macro, you could set another Action to print.
That seems like it would do what you need it to do.

Joel

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello all.
>
> I'm running queries that dumps data to excel spreadsheets to form a
> report every morning on a timer form in access. These reports are then
> manually ran from an access button that opens the excel reports and
> then i have to manually print it out. This process takes about 20 min
> or so and i wanted to know if there is a way to automate the process.
> Is there a way that i can automatically print these excel spreadsheets
> from access? Like a xlwork.print function or something. I would like to
> put something in the timer form that states that at a certain time in
> the morning after the append queries have ran, these reports will run
> into excel and print it automatically and then close the report once it
> is done. Is this possible? Any help would be appreciated. Thanks!!!
>



 
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 macro to Automate ppt nits Microsoft Excel Programming 0 22nd Apr 2010 10:59 PM
macro for excel, automate task stoppal@hotmail.com Microsoft Excel Programming 4 18th May 2006 03:40 PM
How do I automate/schedule an Access macro to run nightly? =?Utf-8?B?QUo=?= Microsoft Access Macros 1 16th Aug 2005 09:55 PM
How? automate Access query p/w to run macro smoothly? =?Utf-8?B?P0FjY2Vzc2VkPw==?= Microsoft Access 0 1st Jul 2005 07:19 PM
Automate Faxes in Access Macro =?Utf-8?B?QmFyY2U1?= Microsoft Access Macros 1 8th Jan 2005 09:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:57 AM.