How to copy rows in excel by C\AL Code?
neramit
Member Posts: 46
I want to copy rows in excel and insert to next rows in excel
i don't know about coding
Everyone who know please tell me
thank you
#-o
i don't know about coding
Everyone who know please tell me
thank you
#-o
0
Comments
-
I see 2 ways:
1) Go in excel. Record a new macro. Do the copying of a row manually. Stop the macro. Have a look at the code. Go in Navision and with automation, you must use the same commands.
2) Table 370:"Excel Buffer" contains functions to read info from excel and to write in excel. So read the cells you want from excel into the (temp)table, create a second (temp)table and fill that up with the coordinates to where the data has to go. Then launch the function that actually writes it to excel.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
thank you for your suggest

but i want to know how to write code
Ex:
Xlsht.Rows("18:18").Copy
How to C\AL code ?
Please tell me
thank you0 -
I don't know exactly how, but search the forum, you will find some information.neramit wrote:thank you for your suggest
but i want to know how to write code
Ex:
Xlsht.Rows("18:18").Copy
How to C\AL code ?
Please tell me
thank you
Maybe this can give you a start :http://www.mibuso.com/forum/viewtopic.php?t=213Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!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