At first glance, nothing wrong with the code there...
So I copied the code and recreated the userform, and still not
able to reproduce ....
When y're in a session (in which this code fails) have you tried to step
through yr code in order to locate the offending VBA statement??
Krgrds,
Perry
Yes but shall do it again. I think Outlook 07 is misbehaving... back
soon....
> At first glance, nothing wrong with the code there...
> So I copied the code and recreated the userform, and still not
[quoted text clipped - 41 lines]
>> Unload Me
>> End Sub
Perry - 21 Jan 2007 13:26 GMT
>> ComboBox1.AddItem c.FullName & " - " & c.Email1Address
Still not able to reproduce but:
The above line will most definitely be the heartbreaker ...
Try to pass c.FullName and c.Email1Address to a seperate variable
of type String. Do the concatenation of both strings into another variable
of type String and AddItem the combined variable to ComboBox1
Krgrds,
Perry
> Yes but shall do it again. I think Outlook 07 is misbehaving... back
> soon....
>> At first glance, nothing wrong with the code there...
>> So I copied the code and recreated the userform, and still not
[quoted text clipped - 41 lines]
>>> Unload Me
>>> End Sub
Graham Mayor - 21 Jan 2007 15:46 GMT
Have you added the Outlook 2007 object library to Word's vba - if indeed it
is available to add?

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Yes but shall do it again. I think Outlook 07 is misbehaving... back
> soon....
[quoted text clipped - 43 lines]
>>> Unload Me
>>> End Sub
Perry - 21 Jan 2007 16:09 GMT
He wouldn't even get to the 13 Mismatch error, instead the VBA compiler
throws in "User Defined Type Unknown" or "Function Not Recognised" error
messages.
So you can fairly assume a reference to Outlook being set.
Krgrds,
Perry
> Have you added the Outlook 2007 object library to Word's vba - if indeed
> it is available to add?
[quoted text clipped - 46 lines]
>>>> Unload Me
>>>> End Sub