Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
outlook.application problem
#1
Not Solved
Hi,
I still have the same problem
this is my cose:
Code:
End If
For i=1 to MyFolder4.Items.Count
If myItems(i).Subject = "anything" Then

.....
Code:
End if
'Delete message with subject not equal to "[Error]" message
If myItems(i).Subject <> "[Error]" Then
myItems(i).delete
end if
myItems.GetNext
Next

the problem is that each time i run the script i get an
error message "array is out of bound"
please help me solving this problem
thanks
Reply


Messages In This Thread
outlook.application problem - by Shina35 - 09-18-2008, 12:04 PM
RE: outlook.application problem - by Ankur - 09-29-2008, 03:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Extracting Email Body from Outlook waseem.khan.91 0 1,904 03-04-2019, 02:53 PM
Last Post: waseem.khan.91
  Extracting Email Body from Outlook waseem.khan.91 0 1,035 03-01-2019, 02:51 PM
Last Post: waseem.khan.91
  Unable to send an email from Outlook which is already opened as draft attiliv 0 2,150 03-24-2013, 11:14 AM
Last Post: attiliv
  Outlook automation issue - Report message in a shared mail box chsurya 0 2,588 03-11-2011, 06:33 PM
Last Post: chsurya
  MS OutLook Email Notification nelmanoj 0 2,385 12-27-2010, 01:05 PM
Last Post: nelmanoj

Forum Jump:


Users browsing this thread: 1 Guest(s)