Hi Macropod, many thanks for updating the code which I've run on a document today - I am getting a bug in the InsertAutoXRefs code - also it doesn't seem to be picking up any clause 1 headings (Heading 1) so I've had to manually update these.
StrNum = Split(ListNums, "|")(i): x = Len(StrNum)