- Code: Select all Expand view
// Create the object
oExcel := ExcelObj( )
oExcel:WorkBooks:Add( )
oAS := oExcel:ActiveSheet( )
oAS:Cells:Font:Name := "Arial"
oAS:Cells:Font:Size := 12
And this is generating the following error in the line that sets the font oAS:Celss:Font:Name := "Arial"
Error description: Error BASE/1005 No exported variable: NAME
Args:
[ 1] = A { ... } length: 2
[ 2] = C Arial
Any ideas ? In other XLS exports the same code is sorking fine.