Export to excel problem

Hi,

I am using dotnet variables in nav to do this.

I followed this link to do the export to excel.

http://forum.mibuso.com/discussion/56735/dotnet-and-excel-in-nav2013.

when I run the report I am getting following error message

“A call to System.__ComObject.Open failed with this message: The type of one or more arguments does not match the method’s parameter type.”

I have given the following parameters for open function.

XlWrkBk:=XlApp.Workbooks.Open(‘Excelfile’,0,TRUE,5,’’,’’,TRUE,EnumToInt(XlPlatformFullName,

‘xlWindows’),’\t’,FALSE,FALSE,0,TRUE,1,0);

I am using NAV 2015 version

Can any body give some useful example or suggestion

Thanks in advance

Any suggestions…

follow https://community.dynamics.com/nav/f/34/t/180031