473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Get the names of Outlook Task subfolders

How do I get the names of the task subfolders from Outlook? Also, when I
right click on the "Tasks" folder in Outlook, I don't have the option to
rename it. So, can I assume that this folder name will never change and I can
hard code the word "Tasks" for this folder in my VBA code. It would
presumably be the uppermost or root folder.

Thanks you.

--
Message posted via http://www.accessmonster.com
May 23 '06 #1
3 4356
On Tue, 23 May 2006 23:54:05 GMT, "rdemyan via AccessMonster.com"
<u6836@uwe> wrote:

Don't assume. Use:
<NameSpace>.GetDefaultFolder(olFolderTasks)

-Tom.

How do I get the names of the task subfolders from Outlook? Also, when I
right click on the "Tasks" folder in Outlook, I don't have the option to
rename it. So, can I assume that this folder name will never change and I can
hard code the word "Tasks" for this folder in my VBA code. It would
presumably be the uppermost or root folder.

Thanks you.


May 24 '06 #2
OK. But, does this get the subfolders as well??

Tom van Stiphout wrote:
Don't assume. Use:
<NameSpace>.GetDefaultFolder(olFolderTasks)

-Tom.
How do I get the names of the task subfolders from Outlook? Also, when I
right click on the "Tasks" folder in Outlook, I don't have the option to

[quoted text clipped - 3 lines]

Thanks you.


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200605/1
May 24 '06 #3
On Wed, 24 May 2006 11:35:05 GMT, "rdemyan via AccessMonster.com"
<u6836@uwe> wrote:

For each fld in <NameSpace>.GetDefaultFolder(olFolderTasks).Folder s
debug.print fld.Name
Next fld

-Tom.

OK. But, does this get the subfolders as well??

Tom van Stiphout wrote:
Don't assume. Use:
<NameSpace>.GetDefaultFolder(olFolderTasks)

-Tom.
How do I get the names of the task subfolders from Outlook? Also, when I
right click on the "Tasks" folder in Outlook, I don't have the option to

[quoted text clipped - 3 lines]

Thanks you.


May 24 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: William | last post by:
Hi there, Is there anybody here who ever create outlook task item from asp .net script successfully ? Actually I've created the script for creating the task, and it run successfully from the...
1
by: Jason L James | last post by:
Hi All, does anyone have the sequence of commands to add a new task to an outlook task list using the outlook Object Model. I've tried a few things but I can't ssem to get it quite right. ...
5
by: Imry | last post by:
Is there a way to programatically add items to the outlook task list using VB ..net?
4
by: digger27 | last post by:
I am trying to progamatically create tasks in Outlook using VB.Net. I am using the following code: **** Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
3
by: mwolowski | last post by:
Hello, I'd like to add tasks, appointments, etc using c# to outlook For example i added reference using OutLook = Microsoft.Office.Interop.Outlook; and the code: 1. ---------------------...
0
by: grant | last post by:
Has anyone got a sample db that has a form to list an Outlook inbox and subfolders? I want to be able to mimic the tree style list of folders in Outlook so the user can browse the contents on...
4
by: Alexander Szigetvary | last post by:
Hi NG! Is there a way to open the Outlook address book dialog (as in Outlook) using C#? I am using Outlook 2003 (MS Outlook 11.0 Object Library). In Outlook 2007 it can be done with...
1
NarenMCA
by: NarenMCA | last post by:
Hi, The below code in MS Outlook gives me the names of folders in "public folders". I am looking forward to get all the subfolders and files in "Public folders" Please assist me in this. ...
3
by: kpfunf | last post by:
I have the following code that works in accessing my personal folder inbox and subfolders. Option Explicit Sub SaveAttachmentsToFolder() On Error GoTo SaveAttachmentsToFolder_err ' Declare...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.