MTM_QueryExcelColWidth

This message is sent once for every exported column while exporting to Excel.
If a value != 0 is returned, M!Table sets the width of the appropriate column in Excel.

Parameters
wParam
Handle of the column
lParam
Unused

Return
The desired column width.
The desired width needs to be multiplied by 100 to be able to use 2 fractional digits.

Example
In this example the width of the column in Excel is set to 50:
On MTM_QueryExcelColWidth
       Return 50 * 100

See also
MTblExportToExcel
MTblExportToExcelEx
Exports

Created with the Personal Edition of HelpNDoc: Easy EPub and documentation editor