>if i have the folow code
>
>tmpsheet = GetObject('','excel.sheet')
>XLApp = tmpsheet.application
>XLApp.Visible = .t.
>
>i have a excel application with a empty workbook...
>
>it's possible to apply the windowsatate property to make the application minimized?
>
>xlapp.application.windowstate = 1 ====> not function!
>
>can anyone help me?
>
oExcelApp = GetObject(,'excel.application')
oExcelApp.WindowState = 1