Thanks for your reply.
I try your code (i have converted it in VB.Net), but in ResizeLastColumn it considers ALL columns, even that not visible in the displayrectangle.
So Spaceleft is always negative and this don’t work for me.
Do you know if there is a method to know if a column is in the display rectangle?
Imported from legacy forums. Posted by Gian Luigi (had 211 views)