![]() |
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 |
|
#4
|
|||
|
|||
![]()
thanks anyway figured it out needed a do loop wit a for statement
Do Until itemcheck = True If SubFolder.Items.Count 0 Then For Each Item In SubFolder.Items Item.Move otherInbox.Folders("Flash Processed") Next Item Else itemcheck = True End If Loop works perfectly "Rivers" wrote: ok ken being as though it was down to my thnking on my last query that caused the problem in the first lace is this what you meant? For Each Item In SubFolder.Items For Each Atmt In Item.Attachments If Right(Atmt.FileName, 3) = "xls" Then FileName = "\\ Flash Recieved\" & Atmt.FileName Atmt.SaveAsFile FileName i = i + 1 End If Next Atmt Next Item For Each Item In SubFolder.Items Item.Move otherInbox.Folders("Flash Processed") Next Item however my attatchments all copy across but when it comes to my for lop to move my items to a new folder it completes half then stops?? thanks before hand Rivers |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook Login Issues / Possible Password Authentication Issues | D|an-0 | Outlook - General Queries | 0 | December 21st 07 02:22 AM |
Forward selected mail as attatchment | Yallah | Outlook and VBA | 1 | October 10th 07 06:02 AM |
Detach an attachment? | Frank D. Nicodem, Jr. | Outlook Express | 1 | March 12th 07 05:44 PM |
not using attatchment | tony giannini | Outlook Express | 3 | July 15th 06 03:21 PM |
How do I forward email as an attatchment? | Bill | Outlook - General Queries | 7 | February 23rd 06 09:05 PM |