Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Get Excel Range.ColumnWidth (DotNet variable)

$
0
0
Hello, can't get ColumnWidth from Excel. (NAV 2016)

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. :dizzy:

How Can I get this ColumnWidth to operate with it as Decimal?


Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>