Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 141
Default Set-up Automatic E-Mail

I was wondering if it is possible to set-up an automatic e-mail of a file or
at least Run a macro within a file that generates an e-mail. I've used code
from Ron De Bruins excellent inf on e-mailing but can't see anything
specific on this area.

Basically I have an Excel file which I generate an e-mail from (via macro) I
need to send this out every weekend, so to save me working 7 days a week, I
was wondering if there is any code that will open my file, "click" a macro
that will generate my Report then "click" another Macro that will e-mail
this Report out.

I have both the "Generate Report" and "Mail Report" set up and working, but
I need to automate the actual "clicking" of these macros, say every Saturday
and Sunday at 10:00am

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Set-up Automatic E-Mail

If Excel will be up and running all the time, you can use
Application.OnTime to schedule a macro to run at a specific date
and time.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"John" wrote in message
...
I was wondering if it is possible to set-up an automatic e-mail
of a file or at least Run a macro within a file that generates
an e-mail. I've used code from Ron De Bruins excellent inf on
e-mailing but can't see anything specific on this area.

Basically I have an Excel file which I generate an e-mail from
(via macro) I need to send this out every weekend, so to save
me working 7 days a week, I was wondering if there is any code
that will open my file, "click" a macro that will generate my
Report then "click" another Macro that will e-mail this Report
out.

I have both the "Generate Report" and "Mail Report" set up and
working, but I need to automate the actual "clicking" of these
macros, say every Saturday and Sunday at 10:00am

Thanks




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 141
Default Set-up Automatic E-Mail

Thanks Chip, Excel will be running but does the actual file have to be
open/running?

"Chip Pearson" wrote in message
...
If Excel will be up and running all the time, you can use
Application.OnTime to schedule a macro to run at a specific date and time.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"John" wrote in message
...
I was wondering if it is possible to set-up an automatic e-mail of a file
or at least Run a macro within a file that generates an e-mail. I've used
code from Ron De Bruins excellent inf on e-mailing but can't see anything
specific on this area.

Basically I have an Excel file which I generate an e-mail from (via
macro) I need to send this out every weekend, so to save me working 7
days a week, I was wondering if there is any code that will open my file,
"click" a macro that will generate my Report then "click" another Macro
that will e-mail this Report out.

I have both the "Generate Report" and "Mail Report" set up and working,
but I need to automate the actual "clicking" of these macros, say every
Saturday and Sunday at 10:00am

Thanks






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Set-up Automatic E-Mail

No. Excel will open the workbook when the OnTime event triggers.


"John" wrote in message
...
Thanks Chip, Excel will be running but does the actual file
have to be open/running?

"Chip Pearson" wrote in message
...
If Excel will be up and running all the time, you can use
Application.OnTime to schedule a macro to run at a specific
date and time.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"John" wrote in message
...
I was wondering if it is possible to set-up an automatic
e-mail of a file or at least Run a macro within a file that
generates an e-mail. I've used code from Ron De Bruins
excellent inf on e-mailing but can't see anything specific on
this area.

Basically I have an Excel file which I generate an e-mail
from (via macro) I need to send this out every weekend, so to
save me working 7 days a week, I was wondering if there is
any code that will open my file, "click" a macro that will
generate my Report then "click" another Macro that will
e-mail this Report out.

I have both the "Generate Report" and "Mail Report" set up
and working, but I need to automate the actual "clicking" of
these macros, say every Saturday and Sunday at 10:00am

Thanks








  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 141
Default Set-up Automatic E-Mail

Informative piece on scheduling procedures on your site Chip

"Chip Pearson" wrote in message
...
No. Excel will open the workbook when the OnTime event triggers.


"John" wrote in message
...
Thanks Chip, Excel will be running but does the actual file have to be
open/running?

"Chip Pearson" wrote in message
...
If Excel will be up and running all the time, you can use
Application.OnTime to schedule a macro to run at a specific date and
time.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"John" wrote in message
...
I was wondering if it is possible to set-up an automatic e-mail of a
file or at least Run a macro within a file that generates an e-mail.
I've used code from Ron De Bruins excellent inf on e-mailing but can't
see anything specific on this area.

Basically I have an Excel file which I generate an e-mail from (via
macro) I need to send this out every weekend, so to save me working 7
days a week, I was wondering if there is any code that will open my
file, "click" a macro that will generate my Report then "click" another
Macro that will e-mail this Report out.

I have both the "Generate Report" and "Mail Report" set up and working,
but I need to automate the actual "clicking" of these macros, say every
Saturday and Sunday at 10:00am

Thanks










Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
In Excel: How do I turn off automatic e-mail if text has @ sign? kvnexcel Excel Discussion (Misc queries) 2 August 8th 06 12:09 AM
Error: cannot load the mail service. Check your mail installation. Brad Bowser Excel Discussion (Misc queries) 0 December 20th 05 10:03 PM
General mail failure when sending e-mail from Excel Adrienne Excel Discussion (Misc queries) 5 November 4th 05 12:59 PM
Creating TWO-WAY E-Mail Attachments with 'BeforeSave Events' in Code for 2nd E-Mail Chuckles123[_112_] Excel Programming 0 September 8th 05 05:56 PM
Automatic CC Entry in Sending Mail Sam Excel Programming 2 October 13th 03 06:25 PM


All times are GMT +1. The time now is 03:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"