Tmpsheet = GETOBJECT('','Excel.Sheet')
XLApp = Tmpsheet.Application
XLApp.Visible = .t.
XLApp.WorkBooks.Add()
XLSheet = XLApp.ActiveSheet
Q1. Why it is creating 2 Excel files naming Book2 and Book4 how can i avoid 2 Excel files only open and save 1 Excel file from above commands