This error often happens if you are trying to reference an Outline Box (or some other type of box) in a report that doesn't exist. It could be that in your script, you create and close a report multiple times, and for whatever reason in one of the reports that Outline Box isn't there, maybe because it doesn't apply to that particular set of data. The easiest way to bypass this and allow your script to keep running is to simply add a Try() function around that line of code. Therefore, do a search for the line where "Report(dis)[Outline Box(6)]" appears in your script, and put the entire line inside the try function. Please let me know if this is clear and if it is a good solution for you.