#6658
Anonymous

Many Thanks, Dave,

You say, that with GroupWise.Account.GetMessage(MessageID) I get an instance of the document reference object.
However, there is an Error executing this code on the sond line:
Set oDoc = GroupWise.Account.GetMessage(MyMsg.MessageID)
MyDocNumber = oDoc.DocumentNumber

I assume GroupWise.Account.GetMessage(MyMsg.MessageID) gets a reference to an instance of the message object.

How can I get a reference to the document?

regards
Beat