Hi,
I am experienced Windows app / database / Firebird developer, can deliver a Windows application that will do the required job for you.
This app will allow you to select the Excel file, select the Firebird database, then click START, and it will perform the queries in database and write to Excel file.
I can deliver in 1 day or less, good quality work done.
Bests,
Steve