There is one file in Excel there roughly speaking a report on form X. In the program itself, in certain fields (for example TEdit) I fill in the data that must be replaced in the file in a specific cell in a specific sheet (only 11 sheets). I understood approximately how to do this in the active sheet:
Excel := CreateOleObject('Excel.Application'); Excel.Workbooks.Open('C:\1.xls'); Excel.Range['F7']:='Привет'; Excel.save; Excel.ActiveWorkbook.Close; Excel.Application.Quit;
But how to make the remaining sheets? (or maybe I'm doing it wrong, or maybe some more convenient non-standard component)