Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loop works in 2000 but not in XP

Status
Not open for further replies.

aalexander2003

Programmer
Jul 22, 2003
3
US
The following loop worked in outlook 2000 but not when i installed it on another computer which has XP

For Each objAppt In colCal
myString = objAppt.Categories
If (myString <> &quot;&quot;) Then
catList = catList & myString & &quot;, &quot;
End If
Next

The error is on the last line. objAppt is an Outlook.AppointmentItem. colCal is an Outlook.Items.

Any ideas?

thanks,
Ashwin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top