>Hi Borislav,
>
>Thanks Man. Iam also using the same codes. But not updating
You should use the second parameter of the Open method:
loExcel = Createobject("Excel.Application")
loExcel.Displayalerts=.F.
loExcel.workbooks.Open(Pay_Sheet, 3)
loExcel.Cells.Select()
loExcel.ReferenceStyle= -4150
loExcel.caption="EMPLOYEES PAYSLIP"
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.