OK, I had to reference the Microsoft CDO for Windows 2000 Library and not
the CDO 1.21 library. Code becomes as follows
Dim iMsg As CDO.Message
Dim iconf As CDO.Configuration
Dim Flds As Fields
Set iMsg = New CDO.Message
Set iconf = New CDO.Configuration
"Mike" wrote in message
...
Ron, I adopted your example code on http://www.rondebruin.nl/cdo.htm and
it works very well (Thanks!). One thing, though. I like to use early
binding when possible. Do you know how I would declare iMsg and iConf to
accomplish this? Thanks.