Can someone perhaps help me with my problem?
I've searched all over the web and haven't had any success. I want to export some data to an existing xls document. How I do this is like the following:
I have tables with table names like Alex, Johan, etc. In my winform application I have a form. In this form I have a list box with all the names of the tables mentioned above. Then I have a template xls document located on my local drive. This document has sheets that are named after the table names also mentioned above.
Now I want to select some names in my listbox and then export all the data in each respective table to the existing template in the correct sheetes that match the selected name(s)
How can I do this?
Please any help will do..