Deleting item in Draft folder

J

John

Hi

I am deleting folder as below;

For I = oItems.Count - 1 To 0 Step -1
oItems(I).delete()
End If

The problem is one element is always left in Draft folder from deletion.
What am I doing wrong?

Thanks

Regards
 
M

Michael Bauer [MVP - Outlook]

No need to post twice. Some of us just enjoyed the Christmas days.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>


Am Fri, 26 Dec 2008 10:20:37 -0000 schrieb John:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top