I am in need of assistance in passing values from a VB.Net application to an Excel spreadsheet template and than be able to pass it back to the program for editing.
Here's an overview of the process and what I want to accomplish. I want to create a vb.net program that has the similar form or template as the Excel spreadsheet template, when a person creates a new form and save it will insert the values from the program to the Excel template. If they open an existing form (Using conditions to determine if it's a new or existing form), the program will pull the value from the Excel spreadsheet and populate the application for editing. I think that if they hit "New" to create a new form, it will default to the template otherwise it will use the existing Excel spreadsheet for this.
1) How would I pass value from VB.Net application to an existing Excel Template? Please provide example of opening the Template and than passing from VB.Net application to the template. For example txtFName will be pass to cell A1, txtLName to cell B1, etc....
2) If the user opens an existing excel spreadsheet, how would I read the excel spreadsheet and pass it to the application for editing? For example the spreadsheet A1 has value "Jon", how would I pass that to textbox txtFName?