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
#2
Not Solved
where have you defined the array?
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Extracting Email Body from Outlook waseem.khan.91 0 1,875 03-04-2019, 02:53 PM
Last Post: waseem.khan.91
  Extracting Email Body from Outlook waseem.khan.91 0 1,016 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,138 03-24-2013, 11:14 AM
Last Post: attiliv
  Outlook automation issue - Report message in a shared mail box chsurya 0 2,578 03-11-2011, 06:33 PM
Last Post: chsurya
  MS OutLook Email Notification nelmanoj 0 2,374 12-27-2010, 01:05 PM
Last Post: nelmanoj

Forum Jump:


Users browsing this thread: 1 Guest(s)