The only way I could save it small enough to fit as an attachment was to save it as monochrome, but you should get the idea. As you can see, the comments just scroll in a straight line completely off the screen.
Hack
One small change. Rather than manually setting both the width and the height, I would suggest you set the width to your desired value and then AutoFit the height to ensure that the entire comments block is visible.
VB Code:
.ColumnWidth = 20 'You will need to tweak the width
.Row.AutoFit 'Ensures that all data is visible
Declan
Don't forget to mark your Thread as resolved.
Take a moment to rate posts that you think are helpful
Hack
One small change. Rather than manually setting both the width and the height, I would suggest you set the width to your desired value and then AutoFit the height to ensure that the entire comments block is visible.
VB Code:
.ColumnWidth = 20 'You will need to tweak the width
.Row.AutoFit 'Ensures that all data is visible
VB Code:
With shWorkSheet.Range("A30")
.Value = txtComments.Text
.WrapText = True
.ColumnWidth = 40
.Row.AutoFit '<==== error: Invalid Qualifier
End With
I've been playing around and it seems a RowHeight = 40 and a ColumnWidth = 40 should suit my needs.
However, I like the AutoFit thing, but I get the above stated error message when I tried to use it.