Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / December 2006

Tip: Looking for answers? Try searching our database.

Email a workbook/worksheet on schedule?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Zigball - 12 Dec 2006 18:52 GMT
Does anyone know how I could get a workbook/worksheet to automatical
email on a schedule?
Example: I want the workbook to be emailed on 9-30-2007, 10-31-2007
etc... every year do you know how this can be done?

Example Code:

Sheets(Array("Sheet1", "Sheet2")).Copy
       'ActiveWindow.SelectedSheets.Copy
       Set wb = ActiveWorkbook
       With wb
           .SaveAs "C:\Documents and Settings\"
           .SendMail "email address here", _
                     "comment here"
           .ChangeFileAccess xlReadOnly
           'Kill .FullName
           .Close False
       End With

this the code I have.
HotRod - 12 Dec 2006 19:00 GMT
I'm working on the same issue except it needs to be emailed at 8am each day.
In this case I think I'd use the MS scheduler to launch a macro that emails
the workbook. Have a look here

Previous copy and paste
"I would be inclined to do this via VBA... Take a look at Ron's site to see
how to Email...

http://www.rondebruin.nl/sendmail.htm
Signature

HTH...

Jim Thomlinson"

> Does anyone know how I could get a workbook/worksheet to automatical
> email on a schedule?
[quoted text clipped - 16 lines]
>
> this the code I have.
 
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.