title: VBA code to change linked picture image name , within Powerpoint
body: <p>I have a Powerpoint with images inserted using Link and Insert.
  I need to change the file names that they link to. </p>
  
  <p>I haven't got access to the source folder. </p>
  
  <p>Therefore need to make the change to via VBA. </p>
  
  <p>I can change the folder location, just not the name of the file. </p>
  
  <p>All that needs changing is the 'Doncaster' to 'London'</p>
  
  <ul>
  <li>X:\Central\Buildings\District\Images\Forecast_Doncaster.png
  X:\Central\Buildings\District\Images\History_Doncaster.png
  X:\Central\Buildings\District\Images\Current_Doncaster.png</li>
  </ul>
  
  <p>I tried but it doesn't work</p>
  
  <pre><code>submarket ="London"
  sh.TextFrame.TextRange = Replace(sh.TextFrame.TextRange, "Doncaster", submarket
  </code></pre>
  
  <p>Can anyone please help?</p>