H
Hei
hi,
i am doing a macro for archive mail from Exchange Server to personal (pst),
i have several problem at my program.
1. i would like to create PST file by macro ,and i want the folder name show
in outlook is same as file name, so i can easy management these Personal
Folder and file.now , the problem is after i create a personal folder (
myns.AddStore "c:\" &
format(date,'yyyymm') & ".pst")
i don't know how to rename the folder same as file name.
2. i use 'TypeOf myItem Is Outlook.MailItem' to determine items in inbox is
outlook.mailitem or not, it is always return 'false'. items in Inbox does
not mailitem??
Pls help.
Hei.
i am doing a macro for archive mail from Exchange Server to personal (pst),
i have several problem at my program.
1. i would like to create PST file by macro ,and i want the folder name show
in outlook is same as file name, so i can easy management these Personal
Folder and file.now , the problem is after i create a personal folder (
myns.AddStore "c:\" &
format(date,'yyyymm') & ".pst")
i don't know how to rename the folder same as file name.
2. i use 'TypeOf myItem Is Outlook.MailItem' to determine items in inbox is
outlook.mailitem or not, it is always return 'false'. items in Inbox does
not mailitem??
Pls help.
Hei.