Excel Buffer Expand

CroRaptor
Member Posts: 8
Hello Guys
I will slowly despair... I have a problem. I need to expand the "Excel Buffer" with a function with 2 parameters. First parameter "From Cell" second Parameter "To Cell". Then i need somehow to Delete all Rows between this 2 Parameters. Somehow i have tried with multiple DotNet's but nothing works!! It should be connected with the Worksheet .net used in the Excel Buffer.
It can't be that hard
can you guys help me?
best regards
CroRaptor
I will slowly despair... I have a problem. I need to expand the "Excel Buffer" with a function with 2 parameters. First parameter "From Cell" second Parameter "To Cell". Then i need somehow to Delete all Rows between this 2 Parameters. Somehow i have tried with multiple DotNet's but nothing works!! It should be connected with the Worksheet .net used in the Excel Buffer.
It can't be that hard

can you guys help me?
best regards
CroRaptor
0
Answers
-
I don't have access to NAV right. But normally we use a temp Excel Buffer record to fill the data. What I would do is to create a function with three parameters.
DeleteRows(Row1 as int, Row2 as int,NewTempRec as Excel Buffer pass-by-var)
Within this function, I'd copy existing records from source-table into the NewTempRec except the rows between Row1 and Row2.
And the I would export NewTempRec into Excel file.0 -
Thank you serdarulutas, this wouldnt work because i need to explicitly delete it from my template not from the buffer actually. But i manage it to do with this dotNet Microsoft.Dynamics.Nav.OpenXml.Spreadsheet.WorkbookWriter.'Microsoft.Dynamics.Nav.OpenXml, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
I have actually a Template which i always need to change a bit. As the data is not in the excel buffer i have to delete.
Anyway thanks for your time0 -
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
This discussion has been closed.
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions