Thanks for the quick tip.
I know I'm pushing for improvements to the code, but at 75 years old, things slow down.
No problem.
As you can see, the PDF (attachment) is not really readable. The columns are too close to each other. Can this be adjusted?
In line 60 of last project you sent is where you write text out. You control X (horizontal) position with expression
15 + j * 10. 15 is fixed offset from left side,
j is column you write and then you multiply
j with 10. Increase this multiplier and you will get wider columns.
I.e.:
Page.WriteText(15 + j * 20, YPos, StringGrid1.Cells[j, i]);