LOTUSSCRIPT/COM/OLE CLASSES
Dim doc As NotesDocument Dim rtitem As Variant '...set value of doc... Set rtitem = doc.GetFirstItem( "Body" ) If ( rtitem.Type = RICHTEXT ) Then Call rtitem.AppendText( "Add text to the rich text item" ) Call rtitem.AddNewLine( 1 ) Call rtitem.AppendText("Add more text to rich text item") Call doc.Save( False, True ) End If
See Also