Using the NotesRichText… classes you can’t do this from scratch. What you can do is:Use HTML/MIME to create the data, or
Use a separate table for each department department headings between them (not in a cell), or
Store a pre-made table with the merged first row and one not-merged second row, and insert one of these for each department, with a very short line in between.