>>I've tried here
>>
>>
>>loExcel = newobject("Excel.Application")
>> with loExcel
>> .ScreenUpdating = .f.
>> .DisplayAlerts = .f.
>> .WorkBooks.add()
>>* .Quit()
>> .visible = .t.
>> endwith
>> loExcel = null
>>RELEASE loExcel
>>
>>and it worked fine for me - Excel 2007.
>>
>>Could it be corrupted installation ?
>
>above Codes not working for me :(
>may be cause from corrupted installation or standart installation
Is it on your computer or on the client's? If on yours, can you try re-installing Office?
If it's not broken, fix it until it is.
My Blog