Hello, can't get ColumnWidth from Excel. (NAV 2016)
Have this error:
Result (decimal) := XlRange.ColumnWidth;
Also this code:
XlRange2.ColumnWidth := XlRange.ColumnWidth;
Crushed NAV at all.
How Can I get this ColumnWidth to operate with it as Decimal?
Have this error:
Result (decimal) := XlRange.ColumnWidth;
Microsoft Dynamics NAV
A DotNet variable has not been instantiated. Attempting to call Microsoft.Office.Interop.Excel.Range.ColumnWidth in CodeUnit Excel Management: CopyColumnWidth
OK
Also this code:
XlRange2.ColumnWidth := XlRange.ColumnWidth;
Crushed NAV at all.
How Can I get this ColumnWidth to operate with it as Decimal?