Quantcast
Channel: Microsoft Dynamics NAV Forum - Recent Threads
Viewing all articles
Browse latest Browse all 29197

NAV2015 excel buffer problem

$
0
0

Hi all,

I have a problem to catch up with new version of excel buffer. I'm creating a simple codeunit to export to excel.

xb - Record: excel buffer

This is the code:

OnRun()
------------------------------
xb.DELETEALL(FALSE);
xb.ClearNewRow;
xb.NewRow;

xb.AddColumn ('text1',FALSE,'',FALSE,FALSE,FALSE,'',xb."Cell Type"::Text);

xb.CreateBook('s1');
xb.WriteSheet('2','','');
xb.DELETEALL(FALSE);

xb.GiveUserControl;
ERROR('');

but nothing appears. no result. no excel is showing. Can anyone tell me what's wrong?

Thank you for any inputs.


Viewing all articles
Browse latest Browse all 29197

Trending Articles



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