![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Eirc:
Thank you so much. It works! Your reply helps me not only in solving the issue but also let me know why it does not work the way I expected. Franco On Apr 24, 11:11*am, Eric Legault [MVP - Outlook] wrote: This is one of the situations where you have to do a reverse loop, because the number of message items in the collection change as you move them. *So try this kind of loop: For intX = MailOrderFiles.Count To 1 Step -1 * * *Set myItem = MailOrderFiles.Item(intx) * * *.... * * *myItem.Move ... Next -- Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.) Try Picture Attachments Wizard for Outlook:http://www.collaborativeinnovations.ca Blog:http://blogs.officezealot.com/legault/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Printing Outlook Emails with List of Attachments by Copy Macro | Bert | Outlook and VBA | 1 | May 21st 07 06:21 AM |
macro to swap calendar time zone | BorisS | Outlook and VBA | 1 | September 14th 06 06:12 AM |
vba macro to print email and attachments outlook 2000 | Dan over in IT | Outlook and VBA | 2 | June 7th 06 08:08 PM |
Macro to kick in every time I send a message | Jyoti | Outlook and VBA | 5 | May 27th 06 11:04 AM |
allow me to run macro time initiated | hirosh | Outlook and VBA | 1 | April 1st 06 06:40 AM |