Before you got to reply, I have found the problem. Fortunately, I found an older refi file I had prepared which didn’t crash. I had omitted to place text in the module variables, right at the end where there is a bright red ‘mark’ symbol! Once I put some text there, it no longer crashes. (In effect, it is a title within the reference.)
Suggestion for improvement: I suggest that allowing for no text in that module variable would be an improvement, as there is no diagnostic info given that text there is vital and otherwise the reference will crash as soon as you try to do a search. An alert that this field is blank might be an alternative solution.
John