If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
outlook schedule task (macro) to run weekly.
This is a question for the programming group in outlook. Below is a macro
that will run from outlook macro (not excel). I don't know how to have outlook schedule the task (macro) to run weekly. Sub openexcel() 'Dim wb As excel.workbook FName = "C:\temp\book1.xls" Set xlApp = Application.CreateObject("Excel.Application") Set xlbook = xlApp.Workbooks.Open(FName) xlbook.PrintOut End Sub "Stew J" wrote: I would like to make excel print a sheet on a weekly basis. the sheet is part of an accounting file and the results are updated daily. I need the information to be either printed or saved to my desktop for manual printing later. This needs to be completed every Monday. |
Ads |
#2
|
|||
|
|||
outlook schedule task (macro) to run weekly.
This sample demonstrates how to use the task reminder for that. It works as long as Outlook is running: http://www.vboffice.net/sample.html?...item&lang=e n -- Best regards Michael Bauer - MVP Outlook : VBOffice Reporter for Data Analysis & Reporting : Outlook Categories? Category Manager Is Your Tool: : http://www.vboffice.net/product.html?pub=6&lang=en Am Sun, 1 Jun 2008 02:30:00 -0700 schrieb Stew J: This is a question for the programming group in outlook. Below is a macro that will run from outlook macro (not excel). I don't know how to have outlook schedule the task (macro) to run weekly. Sub openexcel() 'Dim wb As excel.workbook FName = "C:\temp\book1.xls" Set xlApp = Application.CreateObject("Excel.Application") Set xlbook = xlApp.Workbooks.Open(FName) xlbook.PrintOut End Sub "Stew J" wrote: [4 zitierte Zeilen ausgeblendet] |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
schedule task failed using VB in outlook2003 | Martin | Outlook and VBA | 1 | August 31st 06 05:05 PM |
How do I schedule a re-occurring bi-weekly meetings? | BJ | Outlook - General Queries | 1 | June 27th 06 02:15 AM |
add schedule tab to a task form | Luc | Outlook - Using Forms | 1 | January 31st 06 11:48 PM |
How can I schedule a bi-weekly reoccurring meeting? | Mlady | Outlook - Calandaring | 2 | January 31st 06 02:42 AM |
User cannot schedule new task | Cheesel | Outlook - General Queries | 0 | January 20th 06 05:56 PM |