have any material about navision generate excel file?
gison
Member Posts: 128
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
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
-
Use the search, just type in the word "Excel". You can see a lot of topics regarding with this one.
Or you can also use the Excel Buffer table.Navision noob....0 -
check report id 108 - customer - order detail. You will find the code and the same logic can be used for any report to excel.
regards,
vikas0 -
Thanks you two....
I'm trying to figure out which one I need to choice, excel buffer or excel automation ... :?
kind regards,
gison0 -
It's not a choice. Excel automation uses the Excel Buffer table. Look at Budgets - Import/Export to Excel for an exampleThere are no bugs - only undocumented features.0
-
-
Dears,
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?
:?0 -
Typical usage will be something like this
ExcelInterface.EnterCell (RowNo, ColNo, yourFieldorVariable, TRUE, FALSE, '@', ExcelBuffer);
There are other ways also...NAV - Norton Anti Virus
ERP Consultant (not just Navision) & Navision challenger0 -
For what I known is we can use Excel buffer to generate file but Excel buffer work by automation, so finally, we better understand how to manipulate excel automation. :?0
-
Dear all,
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.
0 -
Yes you can
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:With Selection.Interior .ColorIndex = 6 .Pattern = xlSolid End With
Bye0 -
Thank you all

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...0 -
Double Underline:
xlRange.Font.Underline := 3;Ufuk Asci
Pargesoft0 -
Thank you ufuk,
I wanna ask a silly question..... why you all understand this kind of functions... from official documents...or :?
thanks again.0 -
is it also possible to show left-side border, right-side border, even the top-border.......sorry, i mean to show the whole cell border.... :?0
-
if I remember well...
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...0 -
Record macro and look VB code. Also look at the methods, properties and parameters of automation.
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.Ufuk Asci
Pargesoft0 -
I appreciated you all.
0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions