When I click Debug, it highlights this line:

Set oRng = wdDoc.Range(0, 0)

Thanks,