Sorry I have making my code for You. i Mean recollecting... .Thnx for Asking......
Lets see the Variable i did these using Dotnet Variables As per Some MVP's Suggestions in NAV 2016
Name DataType Subtype Length
Xlapp DotNet Microsoft.Office.Interop.Excel.ApplicationClass.'Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
Answers
Raja Venkat
https://beginnersnav.blogspot.in/
Lets see the Variable i did these using Dotnet Variables As per Some MVP's Suggestions in NAV 2016
Name DataType Subtype Length
Xlapp DotNet Microsoft.Office.Interop.Excel.ApplicationClass.'Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
Xlwrkbk DotNet Microsoft.Office.Interop.Excel.Workbook.'Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
Xlwrksht DotNet Microsoft.Office.Interop.Excel.Worksheet.'Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
XlRange DotNet Microsoft.Office.Interop.Excel.Range.'Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
Companyinfo Record Company Information
FilePath Text
Let Me Know If it Helped Or you got Some Problem
Raja Venkat
https://beginnersnav.blogspot.in/
it takes Parameters
string Filename,
MsoTriState LinkToFile,
MsoTriState SaveWithDocument,
float Left,
float Top,
float Width,
float Height
Raja Venkat
https://beginnersnav.blogspot.in/