Hi, I'm ussing c# and I'm opening an Exceldocument in a webbrowser like:
this.Navigate(url,NavigateOptions.None,null,null,null);
Then in NavigateComplete I get the Excel Application.
public void axWebBrowser1_NavigateComplete2(object sender, AxSHDocVw.
DWebBrowserEvents2_NavigateComplete2Event e)
{
Object o = e.pDisp;
Object oDocument = o.GetType().InvokeMember("Document",BindingFlags.
GetProperty,null,o,null);
oApplication = o.GetType().InvokeMember("Application",BindingFlags.
GetProperty,null,oDocument,null);
m_Excel=(Excel2.Application)oApplication;
All works fine and the xls is shown,but Im not able to save any changes made
in the document,it throwns the exeption 0x800A03EC.
Has anyone any ideas to what causes this?!?
Any help would be sooo great!
Paulo X - 27 May 2006 16:45 GMT
Try use System.Reflection.Missing.Value instead of null in parameters
passed to Save method.
Björn wrote:
> Hi, I'm ussing c# and I'm opening an Exceldocument in a webbrowser like:
>
[quoted text clipped - 17 lines]
> Has anyone any ideas to what causes this?!?
> Any help would be sooo great!