<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Excel - Get paths to linked files (LinkSources) in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Excel-Get-paths-to-linked-files-LinkSources/m-p/61628#M14896</link>
    <description>&lt;P&gt;I have a file that is linked to some other files. I need to open all of the linked files, because sometimes they're not updated. How can I do that?&lt;/P&gt;
&lt;P&gt;If I could get a collection with the paths to all the linked files, then I can open them and update them with others objects that I already have. In VBA it's something like:&lt;/P&gt;
&lt;P&gt;collection = ThisWorkbook.LinkSources(xlExcelLinks)&lt;/P&gt;
&lt;P&gt;Edit: I can open the linked table list using Alt+E+K, but I don't think that's useful if any code stage can be programmed&lt;/P&gt;

--------------------------------------------------&lt;BR /&gt;

&lt;B&gt;Disclaimer:&lt;/B&gt; This content was auto-posted from Stackoverflow. The original Stackoverflow question is here &lt;A href="https://stackoverflow.com/questions/64364106/excel-get-paths-to-linked-files-linksources"&gt;Stackoverflow Post&lt;/A&gt;, posted by &lt;A href="https://stackoverflow.com/users/11151223/dylan"&gt;Dylan&lt;/A&gt;.</description>
    <pubDate>Sat, 17 Oct 2020 08:00:00 GMT</pubDate>
    <dc:creator>Digital_WorkerB</dc:creator>
    <dc:date>2020-10-17T08:00:00Z</dc:date>
    <item>
      <title>Excel - Get paths to linked files (LinkSources)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-Get-paths-to-linked-files-LinkSources/m-p/61628#M14896</link>
      <description>&lt;P&gt;I have a file that is linked to some other files. I need to open all of the linked files, because sometimes they're not updated. How can I do that?&lt;/P&gt;
&lt;P&gt;If I could get a collection with the paths to all the linked files, then I can open them and update them with others objects that I already have. In VBA it's something like:&lt;/P&gt;
&lt;P&gt;collection = ThisWorkbook.LinkSources(xlExcelLinks)&lt;/P&gt;
&lt;P&gt;Edit: I can open the linked table list using Alt+E+K, but I don't think that's useful if any code stage can be programmed&lt;/P&gt;

--------------------------------------------------&lt;BR /&gt;

&lt;B&gt;Disclaimer:&lt;/B&gt; This content was auto-posted from Stackoverflow. The original Stackoverflow question is here &lt;A href="https://stackoverflow.com/questions/64364106/excel-get-paths-to-linked-files-linksources"&gt;Stackoverflow Post&lt;/A&gt;, posted by &lt;A href="https://stackoverflow.com/users/11151223/dylan"&gt;Dylan&lt;/A&gt;.</description>
      <pubDate>Sat, 17 Oct 2020 08:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-Get-paths-to-linked-files-LinkSources/m-p/61628#M14896</guid>
      <dc:creator>Digital_WorkerB</dc:creator>
      <dc:date>2020-10-17T08:00:00Z</dc:date>
    </item>
    <item>
      <title>RE: Excel - Get paths to linked files (LinkSources)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-Get-paths-to-linked-files-LinkSources/m-p/61629#M14897</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can use below VBA code as requested. I have created and tested&lt;BR /&gt;&lt;BR /&gt;Prerequisite - Excel workbook should have some excel linked.&lt;BR /&gt;&lt;BR /&gt;Sub DisplayLinkStatus()&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Dim NewColl As New Collection&lt;BR /&gt;&lt;BR /&gt;LinkSources = ThisWorkbook.LinkSources(xlExcelLinks)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; If IsArray(LinkSources) Then&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; For Each link In LinkSources&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'NewColl.Add link&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Debug.Print link&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Next&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; End If&lt;BR /&gt;End Sub&lt;BR /&gt;&lt;BR /&gt;If you find your ans please click on best answer button,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Nilesh&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nilesh Jadhav &lt;BR /&gt;Senior RPA Specialist&lt;BR /&gt;ADP&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Oct 2020 22:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-Get-paths-to-linked-files-LinkSources/m-p/61629#M14897</guid>
      <dc:creator>NileshJadhavBP</dc:creator>
      <dc:date>2020-10-19T22:34:00Z</dc:date>
    </item>
  </channel>
</rss>

