It looks like the ActiveDocument.Endnotes.Add command can take a Variant instead of a string. Try passing in the RngFnd range instead of converting that to a string and then passing that to the Endnotes.Add command.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|