usando o codigo abaixo:
COLUMN TITLE "ATACADO";
DATA Prod->Pfa_Prod;
PICTURE "@E 999,999.99";
SIZE 08;
FONT 1
preview exibe:

excel exibe:

como solucionar?
grato
Code: Select all | Expand
PICTURE "@E 999999.99";
Code: Select all | Expand
case 'N'
:NumberFormat := "##0"
:HorizontalAlignment := xlRight
if "." $ cPic
:NumberFormat += SubStr( cPic, At( ".", cPic ) )
endif
if "," $ cPic
:NumberFormat := "#," + :NumberFormat
endif
exit
Code: Select all | Expand
case 'N'
:NumberFormat := "##0"
:HorizontalAlignment := xlRight
if "." $ cPic
:NumberFormat += ( "," + Replicate( '0', Len( AfterAtNum( '.', cPic ) ) ) )
endif
if "," $ cPic
:NumberFormat := "#." + :NumberFormat
endif
exit
Code: Select all | Expand
local cSubTot := "=SUBTOTAL(9,"
Code: Select all | Expand
local cSubTot := "=SUBTOTAL(9;"
Code: Select all | Expand
function XlangID()
local oExcel, nLangID
oExcel := ExcelObj()
nLangID := oExcel:LanguageSettings:LanguageID( 2 )
? nLangID
return nLangID