Im having a spot of bother printing my flexgrid.
I use the following code (copied from here somewhere)This prints out a nice grid until one of the row headers is too long.VB Code:
Dim strRowText As String With ResGrid For i = 0 To .Rows - 1 strRowText = "" strRowText = strRowText & .TextMatrix(i, 0) & vbTab & vbTab For j = 1 To .Cols - 1 strRowText = strRowText & .TextMatrix(i, j) & vbTab Next j Printer.Print vbTab & vbTab & strRowText Next i End With
How can I align this properly?




Reply With Quote