Results 1 to 3 of 3

Displaying Google Earth in UserForm

Threaded View

  1. #1
    Registered User
    Join Date
    06-11-2014
    Posts
    2

    Displaying Google Earth in UserForm

    Greetings I'm new to this community and I hope you guys can help me with a problem.

    I'm doing distance calculation between Airports (great circles) and I want the results to be displayed within the UserForm.

    My idea was to create an html file with vba that uses javascript to access the google earth plugin. so far this html file works perfectly in every browser.
    Just the Microsoft Web Browser Plugin in Excel won't display it.

    When I hit the "show"-button, the window keeps white and displays a warning about active content that could access my pc blabla....

    I can ignore the warning. Next thing happening is an error that tells me that this bit of the code is undefined:

    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="X-UA-Compatible" content="IE=9">
    <title>Google Earth API Samples - Creating Line Strings</title>
    <script type="text/javascript" src="http://www.google.com/jsapi?hl=en&amp;key=ABQIAAAAwbkbZLyhsmTCWXbTcjbgbRSzHs7K5SvaUdm8ua-Xxy_-2dYwMxQMhnagaawTo7L1FE1-amhuQxIlXw"></script>
    <script type="text/javascript">
    /* <![CDATA[ */
    var ge;
    google.load("earth", "1");
    //_________________________________________________________________________________
    function init() {
    google.earth.createInstance('map3d', initCB, failureCB);
    }

    When I answer the question: "Do you still want to run this script?" with yes. I get a white page with the outlined borders of where Google Earth is supposed to be displayed

    And now my questions are:

    Is there a different browser plugin aviable for Excel?
    If not, what do I need to do, to get this page displayed?
    Is there another solution? I don't want to load this page in an external browser, and I also don't want to start Google Earth directly.

    Thanks in advance

    Torran
    Last edited by Torran; 06-19-2014 at 01:04 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excel to Google Earth
    By stnf74 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-10-2014, 09:32 AM
  2. Google Earth lat./long. import to Excel
    By PCAg in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-23-2012, 10:47 AM
  3. Replies: 2
    Last Post: 02-20-2012, 04:17 AM
  4. Replies: 7
    Last Post: 01-12-2009, 06:19 PM
  5. Excel to Google Earth made easy
    By rmpaternoster in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-07-2008, 08:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1