1.9.0-alpha2 && 1.7.0
Hi,
I call function from Ribbon button.
I get System.AccessViolationException.
public void InsertSummeryData(IRibbonControl ribbonControl)
{
var reference = (ExcelReference)XlCall.Excel(XlCall.xlfCaller);
}
System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'
I try use code from this this page to get the FileName.
1.
Why do I get AccessViolationException ?
2.
Is there any better way to get the FileName ?
Br,
Henrik