MTM_QueryExcelNumberFormat

MTM_QueryExcelNumberFormat

Messages ›› MTM_Query... ›› MTM_QueryExcel... ››
Parent Previous Next

MTM_QueryExcelNumberFormat

This message is sent once for every exported column and cell while exporting to Excel.
If a format is returned, M!Table sets the appropriate cell(s) in Excel to the specified number format before pasting the cell data.

Parameters
wParam
Handle of the column
lParam
Number of the row if the number format of a cell is queried, TBL_Error if the number format of a column is queried

Return
Must be the result of SalHStringToNumber or 0.
M!Table uses the string passed to SalHStringToNumber as number format in Excel.

Remarks
If a number format for a numeric column is returned, M!Table exports all cells of the column unformatted.

See also
MTblExportToExcel
MTblExportToExcelEx
Exports

Created with the Personal Edition of HelpNDoc: Full-featured Help generator