Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
In Excel: How do I turn off automatic e-mail if text has @ sign? | Excel Discussion (Misc queries) | |||
Error: cannot load the mail service. Check your mail installation. | Excel Discussion (Misc queries) | |||
General mail failure when sending e-mail from Excel | Excel Discussion (Misc queries) | |||
Creating TWO-WAY E-Mail Attachments with 'BeforeSave Events' in Code for 2nd E-Mail | Excel Programming | |||
Automatic CC Entry in Sending Mail | Excel Programming |