![]() |
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
|
|||
|
|||
![]()
Hi, I would like to do the following:
I want to keep email in my personal folders for 1 week and the archive to a .pst file which may or may not already exists. This .pst file must have the same folders as my personal folders and a new file for every month has to be created (e.g. June 2006 = 2006_06). Do I need vba for this or can it be done otherwise? Does anyone have a code from which I can make a good start? I can do some things in Excel vba, but wouldn't know where to start in Outlook. Thanks for any suggestions! |
#2
|
|||
|
|||
![]()
Am 10 Jul 2006 06:12:17 -0700 schrieb Lamaketta:
You can do that with VBA. If you´re familiar with Excel VBA then you won´t have problems with OL VBA. All methods etc. you can find in the Object Browser, from there´s also help available via F1. In the Application_Startup event you can search items with the Restrict function or AdvancedSearch. For both an example is available in the help file. Search for the CreationTime property. If items are being found then create the folder, loop backwards through the result collection and the item´s Move function. The folder´s name would be e.g. Format(Date, "yyyy_mm") -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.VBOffice.net -- Hi, I would like to do the following: I want to keep email in my personal folders for 1 week and the archive to a .pst file which may or may not already exists. This .pst file must have the same folders as my personal folders and a new file for every month has to be created (e.g. June 2006 = 2006_06). Do I need vba for this or can it be done otherwise? Does anyone have a code from which I can make a good start? I can do some things in Excel vba, but wouldn't know where to start in Outlook. Thanks for any suggestions! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Advanced Signatures in OE | rasmus | Outlook Express | 0 | July 3rd 06 02:03 PM |
Advanced Signatures in OE | zero | Outlook Express | 9 | June 27th 06 06:27 PM |
How do I use either AND or OR in advanced find? | WaterMaker | Outlook - General Queries | 1 | June 22nd 06 12:19 AM |
Advanced Edit - Signatures | Tim W. | Outlook - General Queries | 1 | May 21st 06 11:40 PM |
Advanced Calendaring Question | [email protected] | Outlook - Calandaring | 1 | May 9th 06 07:34 PM |