Automatic insertion of index entries in InDesign

Job ID: 31010830

Budget: $30 – $250 USD

I need a script (JavaScript or VBScript) that looks an Excel file with 3 columns:

Page - Topic Level - Sort By
x - y - z

Then goes to InDesign in page x, search term y (only in this page) and, and if found, insert a New Page Reference as Topic Level y and Sort By as z.

Finally, the script should create a log of the errors with the terms that were not found (could mark it in Excel or Word)

Page field may contain 1 or more Page Numbers separated by commas, as well as page intervals, all mixed.

Thank you all, for your attention!
Related categories: JavaScript VBScript