B
bbnimda
Hi all
I'm using a custom Outlook form
I this form I use Do while loop, it work fine but Now I need to skip some
item that meet specific conditions so I added an if then loop end if
My working Script
===============================
Do While not (MyItem is Nothing)
Action1
Action2
Action3
loop
===============================
In my New Script I want to skip all Item that have companies name
"COMPNAME"
when I add an other loop inside the "if then" my form don't work and return
message that "do" is missing
===============================
Do While not (MyItem is Nothing)
Action1
Action2
Action3
if MyItem.companies = "COMPNAME" then
loop
end if
loop
===============================
thks for Help
I'm using a custom Outlook form
I this form I use Do while loop, it work fine but Now I need to skip some
item that meet specific conditions so I added an if then loop end if
My working Script
===============================
Do While not (MyItem is Nothing)
Action1
Action2
Action3
loop
===============================
In my New Script I want to skip all Item that have companies name
"COMPNAME"
when I add an other loop inside the "if then" my form don't work and return
message that "do" is missing
===============================
Do While not (MyItem is Nothing)
Action1
Action2
Action3
if MyItem.companies = "COMPNAME" then
loop
end if
loop
===============================
thks for Help