set ExcelApp to new Application()
set ExcelWorkBook to ExcelApp::Workbooks::Add(1)
set ExcelWorkSheet to ExcelWorkBook::Sheets[1] as type Worksheet
set ExcelWorkSheet::Cells[1,1] to "test"
invoke ExcelWorkBook::SaveAs("C:\\temp\\test1.xlsx")
invoke ExcelWorkBook::Close()
invoke ExcelApp::Quit()
The above code works in C#, not sure what is going on with Visual Cobol. I get
#VisualCOBOLautoscalemodescreenresolution




