Dear all,
I'm trying to generate excel file by Navision report,
but the only way to find the resource is some web site forum.
While the excel format is very complicated...does there have any material i can refer to? I'm sorry to trouble all you guys...buy it's really a big trouble for me. :?
kind regards,
gison
0
Comments
Or you can also use the Excel Buffer table.
regards,
vikas
I'm trying to figure out which one I need to choice, excel buffer or excel automation ... :?
kind regards,
gison
bbrown means other way.... Excel Buffer table uses the Excel automation..
Something like that.
I tried excel automation before... but never tried these two together.
The excel buffer look more simple to use....
If I take the excel buffer one, is it possible to export base on a Excel template?
:?
ExcelInterface.EnterCell (RowNo, ColNo, yourFieldorVariable, TRUE, FALSE, '@', ExcelBuffer);
There are other ways also...
ERP Consultant (not just Navision) & Navision challenger
Is it possible to export to excel with color.
Because I just saw there are on have function in Excelbuffer to modify font style which included Blod and Italic.
How ???
Try this. Open Excel. Record a new Macro (In English is named Macro ??? :-k :-k ).
Change color to a cell. Stop the macro and read the code generated in VB.
Translate this code to C/AL and finished. \:D/ \:D/
The code generated is:
Bye
sorry, I got another problem....
Is it possible to show double-underline?
as you know... if we print a report, need to have a double-underline in the bottom of the report, usually we need to print a total amount with a double underline :?
Have any one done this before....?
deeply appreciated...
xlRange.Font.Underline := 3;
Pargesoft
I wanna ask a silly question..... why you all understand this kind of functions... from official documents...or :?
thanks again.
in excel: you can start recording a macro, do what you want (e.g.: place borders, change color etc.), stop recording macro, edit the macro.
you will see the code generated from you actions and then port it into nav...
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
I generally find by first looking at macro and then trying similiar things in C/AL.
For border:
xlSheet.Range('A1').BorderAround(1,2)
You can test differences of border format by changing the BorderAround parameters.
Pargesoft
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog