In some companies it is a common practice to indicate last used and unused reference designators in the notes of a schematic.  This simple utility scans the schematic and gets this information.  It is then displayed in a text box, from which it can be copied and pasted into the schematic notes.