MTM_QueryExcelValue

This message is sent once for every exported cell while exporting to Excel.
If a value is returned, M!Table uses this value rather than determining the value of the appropriate cell itself.

Parameters
wParam
Handle of the column
lParam
Number of the row

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

Example
In this example the value of the cell in Excel is set to "Hello world!":
On MTM_QueryExcelValue
       Return SalHStringToNumber( "Hello world!" )

See also
MTblExportToExcel
MTblExportToExcelEx
Exports

Created with the Personal Edition of HelpNDoc: Produce online help for Qt applications