Using OleApplication in Delphi to use Excel.
Have to append data as it appears, to existing sheets if they exist, without operator intervention.
For new workbook all is fine, but if the workbook is already there, Excel generates a windows message which the Delphi program should deal with - such as 'This file already exists - Do you want to save?' appears.
How would you trap these messages to make an automated system?