I am writing an application in VB 6 where I need to resize the column width of an Excel worksheet to that of the maximum size of the content in that column. The property Autofit only makes the width of the columns as wide as that of its caption. But I want it to be done on the basis of the maximum size of its content.
Is there a way to achieve this?