Adding data to tables in a template

Topics: Developer Forum, Project Management Forum, User Forum
Aug 5, 2007 at 2:40 AM
I am creating an Excel document from a template file and then adding data to the different cells through the use of the ExcelPackage objects. When I try to use a template that has tables in it it throws an Exception (Object instance not set to instance of an Object). I have tracked this down to be something to do with the tables themselves but even when I add data to the cells where the table resides it still throws the error.

Someone please help as my project deadline is Monday (it is currently Saturday night) and this seems to be the only thing in my way to completing the requirements. Am I adding data to the worksheet incorrectly and if so how do I properly add data to one of the data tables of the sheet.