This is taking so long because you are adding new conditions incrementally and haven't yet considered the rolling over of a third digit eg 88-90 or 99-101 or 200-9. Plus you haven't focused on the individual page numbers yet which would need to be addressed FIRST.
Ultimately, however this is just window-dressing and not actually addressing the real problem which is your document should actually be using the built-in index functionality instead of a manual index with hard coded numbers. Can you explain why this hasn't been your selected approach?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|