Hello everyone
I use the saveas method such as dw_1.saveas("test.xlsx",xlsx!,true) to save datawindow into an excel file. The font of all cells in the excel file is Arial and the size is 10.
I try to modify the column font and size in datawindow , but the excel file has no change. Is it possible to specify the font of the exported excel without using OLE?
I implemented the requirement using the following pseudocode
lihdl=lole.ConnectToNewObject("Excel.application")
lole.xxx.xxx.open("excel file.xlsx")
lole.xxx.xxx.font.name="xxx"
lole.xxx.xxx.save()
lole.xxx.xxx.close()
lole.quit()
destroy lole
but the processing time is 2-3 seconds longer than using saveas. Can I just accept this fact without using "DW2XLS"?