F
Fred Holmes
The code statement:
Selection.TypeText Text:="This is sample text."
Works fine in VBA code in MS Word. The text string is inserted into
the document at the insertion point.
But when using Outlook 2003's VBA editor (for plain text messages, not
using Word as the mail message editor) the same statement fails with
an "object requrired" debug message. I presume that the required
object is something like "Current message body." but where do I find a
pick list or other description of appropriate objects?
Thanks,
Fred Holmes
Selection.TypeText Text:="This is sample text."
Works fine in VBA code in MS Word. The text string is inserted into
the document at the insertion point.
But when using Outlook 2003's VBA editor (for plain text messages, not
using Word as the mail message editor) the same statement fails with
an "object requrired" debug message. I presume that the required
object is something like "Current message body." but where do I find a
pick list or other description of appropriate objects?
Thanks,
Fred Holmes