A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Changing folder description doesn't "stick".



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 19th 08, 08:51 AM posted to microsoft.public.outlook.program_vba
Jason Chapman[_2_]
external usenet poster
 
Posts: 1
Default Changing folder description doesn't "stick".

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 11:29 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.