SetColumns with two or three columns

  • Thread starter Thread starter Kristian
  • Start date Start date
K

Kristian

I can't get the SetColumns method to work with more than
one column.
Help states one parameter; string with property names
separated with comma
If I write "FirstName","LastName":
Error! Wrong number of parameters
If I write "FirstName,LastName":
Error! The property "FirstName,LastName" is unknown
If I write "'FirstName','LastName'":
Error! The property "'FirstName','LastName'" is unknown

Any ideas?

Tia,
Kristian
 
Did you try:

myItems.SetColumns "FirstName, LastName"

with a space after the comma?
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Back
Top