Sub Initialize
Dim session As New notessession
Dim db As notesdatabase
Set db = session.currentdatabase
Dim doc As notesdocument
Set doc = session.DocumentContext
Dim tview As notesview
Set tview = db.getview("MTMPVIEW")
Dim tdoc As notesdocument
Set tdoc = tview.GetDocumentByKey( doc.mTemplate(0) , True )
If tdoc Is Nothing Then Exit Sub
Dim tbody As Variant
Set tbody = tdoc.GetFirstItem("BodyEntry")
Dim rtitem As NotesRichTextItem
Set rtitem = New NotesRichTextItem( doc , "mBody" )
Call rtitem.AppendRTItem(tbody)
End Sub