![]() |
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
|
|||
|
|||
![]()
My first Outlook VBA. I am trying to work through folders (typically
inboxes), archiving e-mails off to the appropriate place. As there are thousands of e-mails in the inbox, I thought I would have a button that allowed me to record what date the last e-mail looked at was, so I can come back to that point and continue archiving in the future. I thought I would use the folder description as it doesn't ever seem to have anything in it and I wanted the "bookmark" to be close to the data. The code below works, but often the updated description doesn't stick between outlook sessions. I think it might be when there are more than one outlook "view" open, but not sure. Any idea why, is it like the old lotus 123 overlapping saves? Sub SetFolderDescription() Dim TestFolder As Outlook.Folder Dim NewDescritpion Set TestFolder = Application.ActiveExplorer.CurrentFolder Debug.Print (TestFolder.Description) NewDescritpion = InputBox("Edit Description", "Folder: " & TestFolder.Name, TestFolder.Description) TestFolder.Description = NewDescritpion Debug.Print (TestFolder.Description) End Sub Unfortunately, there may be more stupid questions as I work through all the ideas I have to customise outlook. TIA -- Jason |
Ads |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Category View Doesn't "Stick" | Christina | Outlook - Using Contacts | 7 | September 11th 07 12:35 AM |
Changing the "Select Contacts" initial folder | microtom | Outlook - Using Forms | 1 | April 18th 07 03:04 PM |
"Display Presence" Setting Won't Stick | Ridge Kennedy | Outlook - General Queries | 0 | October 25th 06 05:38 PM |
Changing View to "Search Folder" Upon Start Up | Luke242 | Outlook and VBA | 4 | October 25th 06 06:48 AM |
Globally changing "File As" format for an Outlook Contact Folder | DJS | Outlook - Using Contacts | 2 | June 30th 06 11:32 PM |