Hello,
I am using the great example provided by Milan and I need add the following functionality.
1) Perform Save As without dialog box
2) Change font color
3) Change cell shading
Can anyone help?
Sincerely,
FUNCTION MAIN()
LOCAL oExcel := CREATEOBJECT( "Excel.Application" )
LOCAL oWorkBook := oExcel:WorkBooks:Add()
LOCAL oSheet := oExcel:ActiveSheet
oSheet:Cells( 1, 1 ):Value = "This is a test"
oSheet:Cells( 1, 1 ):Font:Color = 255
oSheet:Cells( 1, 1 ):Interior:Color = 11184810
oSheet:Cells( 1, 1 ):Font:Shadow = .T.
oWorkBook:SaveAs( "c:\xharbour\newfile.xls" )
oExcel:Quit()
RETURN NIL
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 64 guests