Successfully created a Notes mail document with a table in the body from VBA. However, there was one minor issue when attempting to set the style property of the NotesRichTextTable as follows in the code exerpt.
Dim RtNav as NotesRichTextNavigator
Dim RtTable as NotesRichTextTable
Set RtNav = RtItem.CreateNavigator
If Not RtNav.findFirstElement(1) Then
Exit Sub
End If
Set RtTable = RtNav.getelement
RtTable.Style = 2
At this point the following error occurs
“Can’t assign to read-only property”
Will work wihtout this line, but would rather have it so the color scheme can be set. Any ideas would be appreciated.