title: VBA in Excel to launch Google Earth stopped working
body: <p>For about 6 months I have had a functional excel spreadsheet that when clicking a button ran a VBA script that created a properly formatted kml file from the lat/long information in the spreadsheet, saved the kml document, and launched Google Earth to view the plotted coordinates. </p>
  
  <p>I successfully used this on June 6th.  However, today I am getting this error</p>
  
  <blockquote>
    <p>"License information for this component not found. You do not have an
    appropriate license to use this functionality in the design
    environment"</p>
  </blockquote>
  
  <p>The KML file is still created and saved, but GE will no longer launch.</p>
  
  <p>I have tried this Microsoft fix, but it didn't resolve the problem.
  <a href="https://support.microsoft.com/en-us/kb/181854/en-us" rel="nofollow">https://support.microsoft.com/en-us/kb/181854/en-us</a></p>
  
  <p>Below is the part of the VBA that launches Google Earth. The "GEPlugin Type Library" reference is still checked in Microsoft Visual Basic for Applications :</p>
  
  <pre><code>Dim appGoogleEarth As EARTHLib.ApplicationGE
  Set appGoogleEarth = New EARTHLib.ApplicationGE
  Call appGoogleEarth.OpenKmlFile(OutputFile, 1)
  </code></pre>
  
  <p>Any help or insight into why this suddenly became a problem and how to fix it is greatly appreciated.</p>