Код: Выделить всё
Array objLinks = wbCurrent.LinkSources(Excel.XlLink.xlExcelLinks) as Array;
if (objLinks != null)
{
for (int i = 1; i
Подробнее здесь: [url]https://stackoverflow.com/questions/79569425/updating-external-links-for-lengthy-formula-issue-while-copying-worksheet-from-o[/url]