This scenario helps a user generate a unique document number with a specific format and add an entry to a range or table (two sepearate scenarios). The new entry or a row added will contain the newly generated unique document number and few other attributes passed to the script.
The sample contains two part.
- Part-1: achieves this scenario by reading and adding row to a worksheet containing plain range.
- PArt-2: achieves this scenario by reading and adding row to a table (little bit simpler).
Download the input Excel file used in this sample and try it out yourself!



