View Single Post
 
Old 11-21-2021, 07:00 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

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
Reply With Quote