Hi,
I'm getting the above Exception when trying to call SaveAs() on a Wb, I've
got open. I can call Save() no problem, but wanted to set Filename, etc...
Very new to programming Excel with C#, so not sure what this is about.
Can anyone help.
This is the line causing Exception.
I definitly have access to this folder, etc, so it's none of the
wb.SaveAs(@"C:\\Documents and Settings\\Calvin.NTDOMAIN\\My
Documents\\Customer KPI.xls", XlFileFormat.xlWorkbookNormal, Type.Missing,
Type.Missing, Type.Missing, Type.Missing, XlSaveAsAccessMode.xlNoChange,
Type.Missing, Type.Missing, Type.Missing, Type.Missing,Type.Missing);
wb.Close(true, true, true);
Calvin Willman - 22 Feb 2006 12:41 GMT
I didn't need to double blackslash the filepath...
wb.SaveAs(@"C:\Documents and Settings\Calvin.NTDOMAIN\My
> Documents\Customer KPI.xls"
> Hi,
>
[quoted text clipped - 13 lines]
> Type.Missing, Type.Missing, Type.Missing, Type.Missing,Type.Missing);
> wb.Close(true, true, true);