Computing.Net > Forums > Programming > VBA Outlook

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

VBA Outlook

Reply to Message Icon

Original Message
Name: deschman
Date: August 28, 2008 at 08:07:16 Pacific
Subject: VBA Outlook
OS: XP SP3
CPU/Ram: intel
Model/Manufacturer: dell
Comment:

I made a macro to export selected emails from my inbox. I then want to mark them as complete. That works alone for the first message in the selection. Why?

[code]
For i = 1 To myOlSel.Count
Set currentMessage = myOlSel.Item(i)
currentMessage.SaveAs FName & ".msg", olMSG
currentMessage.FlagStatus = 1
currentMessage.Save
Next i
[/code]

The truth is out there... I want to believe


Report Offensive Message For Removal








Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software