ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Exception from HRESULT: 0x800AC472 (https://www.excelbanter.com/excel-discussion-misc-queries/91319-exception-hresult-0x800ac472.html)

[email protected]

Exception from HRESULT: 0x800AC472
 
Hi,
This is the step by step procedure
1. I am calling Excel Macro from VB.Net using Run command to open Excel
workbook. It works fine.
2. I made modification in that workbook.
3. I call Postmessage API to return the control back to VB.Net. In
VB.Net, I called again Run command to get the changed values from excel
workbook to vb.net parameters so that they can be saved into the
database. But everytime, I call Run command I get above exception.

Also Immediately calling Postmessage, I am giving user the option of
saving the workbook onto their hard disk drive. I don't know if the
problem is because of it.

Thanks
Nikki



All times are GMT +1. The time now is 05:57 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com