Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
0
VBS script error -- data type not supported
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-11-2012 10:21 AM
Hi,
I'm getting a "data type not supported" error with a VBS script I'm running from MAS90. In VBA, the code works and is as follows:
Set userProp = newContact.UserProperties.Add("Parent Entity EntryID", olText, False, False)
userProp.Value = newAcct.EntryID
newContact and newAcct are of type Outlook.ContactItem; userProp is of type Outlook.UserProperty.
In VBS, the code generates the unsupported data type error on the "Set userProp" line. I think this is just a VBS limitation and the only solution is to call a VBA macro from VBS. But this seems clunky, so if anyone has other suggestions, let me know. Thanks.
Meg


