Hi,

very nice codes...
I found one bug in RTFtable

VB Code:
  1. Public Sub InsertTable(RTB As RichTextBox)
  2. 'set column widths
  3.     For c = 1 To mvarColumns
  4.         strInsert = strInsert & "\cellx"
  5.         w = mvarxLeft
  6.         For i = 1 To c
  7.             [COLOR=Red]w = w + mvarclsColumn(c).xWidth[/COLOR]
  8.         Next i
  9.         strInsert = strInsert & CStr(w)
  10.     Next c

If you have all columns same size you can't see difference, but

must be:
w = w + mvarclsColumn(i).xWidth