Hello,
I am trying to save some data in an excel file from my VB.Net application. But once saved and I try to open the excel file manually, the data is invisible.This happens if I try to open the file with my application running. But if I am close my application, I am able to see the data.
I found this in the documentation.
"When you are using Automation to edit an Excel workbook, keep the following in mind.
Creating a new instance of Excel and opening a workbook results in an invisible instance of Excel and a hidden instance of the workbook. Therefore, if you edit the workbook and save it, the workbook is saved as hidden. The next time the user opens Excel manually, the workbook is invisible and the user has to click Unhide on the Window menu to view the workbook.
To avoid this behavior, your Automation code should unhide the workbook before editing it and saving it. Note that this does not mean that Excel itself has to be visible."
What does this mean? has it got anything to do with the problem I am facing?
SHankar.
I am trying to save some data in an excel file from my VB.Net application. But once saved and I try to open the excel file manually, the data is invisible.This happens if I try to open the file with my application running. But if I am close my application, I am able to see the data.
I found this in the documentation.
"When you are using Automation to edit an Excel workbook, keep the following in mind.
Creating a new instance of Excel and opening a workbook results in an invisible instance of Excel and a hidden instance of the workbook. Therefore, if you edit the workbook and save it, the workbook is saved as hidden. The next time the user opens Excel manually, the workbook is invisible and the user has to click Unhide on the Window menu to view the workbook.
To avoid this behavior, your Automation code should unhide the workbook before editing it and saving it. Note that this does not mean that Excel itself has to be visible."
What does this mean? has it got anything to do with the problem I am facing?
SHankar.