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!
Comments
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.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
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=213
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!