Have a look at the topic "Tips&Tricks: Excel Automation" in the forum Navision Tips & Tricks. This will get you started. Be sure to select "Show all topics" first, otherwise a blank screen is displayed.
No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
Comments
John
"Allow Invoice Disc.":=Format(xlWSheet.Range('M1').Offset(row,0).Value);
"Unit Price":=Format(xlWSheet.Range('P1').Offset(row,0).Value);
"Allow Invoice Disc.":=Format(xlWSheet.Range('M1').Offset(row,0).Value) = 'Yes';
That is if there is a 'Yes' in your Excel stating you want discount.