Jeanne Goodman
Member
- Outlook version
- Outlook 2010 64 bit
- Email Account
- Office 365 Exchange
Greetings!
I'm still working out the kinks in my macro. Here's my latest issue. I was finding that after a short time, I couldn't delete the "Print" calendar folder.
After a lot of investigation I discovered that it is because the previous deletion had left the folder and its items in the Deleted Items folder.
My current code is:
Set objCalendar = Session.GetDefaultFolder(olFolderCalendar)
Set printCal = objCalendar.Folders("Print")
printCal.Delete
Can you suggest a way to by-pass the deleted items folder so that it will delete correctly next time?
Best,
Jeanne ("Always Grateful") Goodman
I'm still working out the kinks in my macro. Here's my latest issue. I was finding that after a short time, I couldn't delete the "Print" calendar folder.
After a lot of investigation I discovered that it is because the previous deletion had left the folder and its items in the Deleted Items folder.
My current code is:
Set objCalendar = Session.GetDefaultFolder(olFolderCalendar)
Set printCal = objCalendar.Folders("Print")
printCal.Delete
Can you suggest a way to by-pass the deleted items folder so that it will delete correctly next time?
Best,
Jeanne ("Always Grateful") Goodman