{"id":2381,"date":"2016-09-24T22:59:39","date_gmt":"2016-09-24T22:59:39","guid":{"rendered":"https:\/\/grindgis.com\/?p=2381"},"modified":"2018-04-05T14:30:02","modified_gmt":"2018-04-05T14:30:02","slug":"geocoding-excel-and-bing","status":"publish","type":"post","link":"https:\/\/grindgis.com\/?p=2381","title":{"rendered":"Geocoding with Microsoft Excel and Bing Maps API"},"content":{"rendered":"<p style=\"text-align: justify;\"><span style=\"font-family: Arial; font-size: 12pt;\">I wrote a tutorial about how to do geocoding with Microsoft Excel and Google Maps but saw few comments about the limitation which is 2500 addresses. Surfing the internet I found interesting number from Bing maps which allows you to\u00a0perform 10000 addresses in total. If you need more than that then create a new MSN or Hotmail account and get the new Bing map API key.<br \/>\n<\/span><\/p>\n<p><span style=\"font-family: Arial; font-size: 12pt;\">So somebody has \u00a0already created a excel template with all the required coding, you just have to create a Bing map API key.<br \/>\n<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: Arial;\"><span style=\"font-size: 22pt;\"><strong>1.\u00a0<\/strong><\/span><span style=\"font-size: 12pt;\">Download the <a href=\"https:\/\/github.com\/maxrice\/excel-geocoding-tool\/releases\/download\/3.6.1\/excel-geocoding-tool.xls\" target=\"_blank\" rel=\"noopener\">excel<\/a> sheet or go to the <a href=\"http:\/\/excelgeocodingtool.com\/%20\">http:\/\/excelgeocodingtool.com\/<\/a> and download it.<br \/>\n<\/span><\/span><\/p>\n<p><span style=\"font-family: Arial;\"><span style=\"font-size: 22pt;\"><strong>2.\u00a0<\/strong><\/span><span style=\"font-size: 12pt;\">Open the downloaded excel file and if it is open in protected view (highlight yellow bar on the top) then click enable editing.<br \/>\n<\/span><\/span><\/p>\n<p><span style=\"font-family: Arial;\"><span style=\"font-size: 22pt;\"><strong>3.\u00a0<\/strong><\/span><span style=\"font-size: 12pt;\">After that process, enable macros.<br \/>\n<\/span><\/span><\/p>\n<p><span style=\"font-family: Arial;\"><span style=\"font-size: 22pt;\"><strong>4.\u00a0<\/strong><\/span><span style=\"font-size: 12pt;\">In Excel 2013: Go to <strong>File<\/strong> -&gt; <strong>Options<\/strong> -&gt; on the left side, choose <strong>Trust Center<\/strong> -&gt; click on <strong>Trust Center Settings <\/strong>and <strong>Macro Settings<\/strong><br \/>\n<\/span><\/span><\/p>\n<p><span style=\"font-family: Arial;\"><span style=\"font-size: 22pt;\"><strong>5.\u00a0<\/strong><\/span><span style=\"font-size: 12pt;\">In Excel 2007, 2010: Click on the <strong>Office button<\/strong> -&gt; <strong>Excel Options<\/strong> -&gt; <strong>Trust Center<\/strong> -&gt; <strong>Trust Center Settings<\/strong>-&gt; <strong>Macro Settings<\/strong>.<br \/>\n<\/span><\/span><\/p>\n<p><span style=\"font-family: Arial;\"><span style=\"font-size: 22pt;\"><strong>6.\u00a0<\/strong><\/span><span style=\"font-size: 12pt;\">Then check the Enable<strong> all macros<\/strong><br \/>\n<\/span><\/span><\/p>\n<p><span style=\"font-family: Arial; font-size: 12pt;\">Note: Make sure to disable macros once geocoding process is completed for the security purpose.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: Arial; font-size: 12pt;\"><em>Below image is from Microsoft Excel 2013<\/em><br \/>\n<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"2013 excel option\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2016\/09\/092416_2255_Geocodingwi1.png\" width=\"579\" height=\"246\" \/><span style=\"font-family: Arial; font-size: 12pt;\"><br \/>\n<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-family: Arial;\"><span style=\"font-size: 22pt;\"><strong>7.\u00a0<\/strong><\/span><span style=\"font-size: 12pt;\">To process the geocoding you have to generate Bing API key, go to <a href=\"http:\/\/www.bingmapsportal.com\/\" target=\"_blank\" rel=\"noopener\">Bing Maps API key<\/a>. This will take you to login page, you can use your Hotmail or MSN account to login in. Once the initial process is completed you are ready to generate the key. To generate the key click on <strong>My account<\/strong> and then\u00a0on <strong>My keys.<\/strong><br \/>\n<\/span><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"Bing generate API\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2016\/09\/092416_2255_Geocodingwi2.png\" width=\"579\" height=\"209\" \/><span style=\"font-family: Arial; font-size: 12pt;\"><br \/>\n<\/span><\/p>\n<p><span style=\"font-family: Arial;\"><span style=\"font-size: 22pt;\"><strong>8.\u00a0<\/strong><\/span><span style=\"font-size: 12pt;\">Then fill the value according to the nature of your project or anything that you like to fill up. Then click on <strong>Create <\/strong>button, which will take a while to display the key, see below image.<br \/>\n<\/span><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"Bing generate API Fill form\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2016\/09\/092416_2255_Geocodingwi3.png\" width=\"512\" height=\"478\" \/><span style=\"font-family: Arial; font-size: 12pt;\"><br \/>\n<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"Bing generate API Key value\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2016\/09\/092416_2255_Geocodingwi4.png\" width=\"579\" height=\"256\" \/><span style=\"font-family: Arial; font-size: 12pt;\"><br \/>\n<\/span><\/p>\n<p><span style=\"font-family: Arial;\"><span style=\"font-size: 22pt;\"><strong>9.\u00a0<\/strong><\/span><span style=\"font-size: 12pt;\">Go back to your open Geocoding Excel template and paste the generated code into the text box of Bings Map API.<br \/>\n<\/span><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"Excel template fill form\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2016\/09\/092416_2255_Geocodingwi5.png\" width=\"579\" height=\"242\" \/><span style=\"font-family: Arial; font-size: 12pt;\"><br \/>\n<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-family: Arial;\"><span style=\"font-size: 22pt;\"><strong>10.\u00a0<\/strong><\/span><span style=\"font-size: 12pt;\">Then go to Geocode sheet, add all your addresses under the <strong>Location <\/strong>column and press the <strong>Geocode Selected rows<\/strong> or <strong>Geocode all rows <\/strong>button. This will generate Latitude, Longitude and other info.<br \/>\n<\/span><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"Excel template second option fill up\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2016\/09\/092416_2255_Geocodingwi6.png\" width=\"579\" height=\"216\" \/><span style=\"font-family: Arial; font-size: 12pt;\"><br \/>\n<\/span><\/p>\n<p><span style=\"font-family: Arial; font-size: 12pt;\">As mentioned above, you can create new MSN\u00a0account to generate new API key when your 10000 limit is over. Hope you liked the tutorial and also, if you have any question please comment.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I wrote a tutorial about how to do geocoding with Microsoft Excel and Google Maps but saw few comments about the limitation which is 2500 addresses. Surfing the internet I found interesting number from Bing maps which allows you to\u00a0perform 10000 addresses in total. If you need more than that then create a new MSN [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2389,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[418,417,45,419,382],"class_list":["post-2381","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-excel","tag-bing-api-and-excel","tag-bing-maps","tag-excel","tag-excel-and-geocoding","tag-geocoding","entry","has-media"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/grindgis.com\/index.php?rest_route=\/wp\/v2\/posts\/2381","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/grindgis.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/grindgis.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/grindgis.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/grindgis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2381"}],"version-history":[{"count":0,"href":"https:\/\/grindgis.com\/index.php?rest_route=\/wp\/v2\/posts\/2381\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/grindgis.com\/index.php?rest_route=\/wp\/v2\/media\/2389"}],"wp:attachment":[{"href":"https:\/\/grindgis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/grindgis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2381"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/grindgis.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}