Hi Baranivis & Wilfried,
I think that Baranivis is looking for some help about EXCEL component, and I think that MP2KMAG is not the best forum for that.
In that component you have the Column Objects and the Width Properties that you can change in your windows application.
So you can do programatically a lot of things with the EXCEL component, as we do here with MAPPOINT Activex.
Baranivis,
you can find what you are looking for in Excel Help when you are editing a Macro.
I am not a specialist, but you can choose your Range and let Excel Autofit the columns width:
Code:
Worksheets("Sheet1").Range("A1:E1").Columns.AutoFit
Wilfried,
Aren't you intersted by the MapPoint Technical Workshop in Paris?
http://blogs.microsoft.fr/arnaudgs/a.../17/28946.aspx
Ciao