• A.CRE
    • A.CRE Home
    • A.CRE Accelerator
      • Learn More
      • Login
      • Manage Membership
    • Artificial Intelligence
    • Careers
    • Consulting and Advisory
    • CRE Event Calendar
    • CRE Job Board
    • Education
    • Library of Excel Models
    • University Profiles
    • Contributors
  • FAQs
  • Knowledge Base
  • Contact Us
  • A.CRE
    • A.CRE Home
    • A.CRE Accelerator
      • Learn More
      • Login
      • Manage Membership
    • Artificial Intelligence
    • Careers
    • Consulting and Advisory
    • CRE Event Calendar
    • CRE Job Board
    • Education
    • Library of Excel Models
    • University Profiles
    • Contributors
  • FAQs
  • Knowledge Base
  • Contact Us
home/Knowledge Base/I have a question about a model.../Geocode script doesn’t work – The A.CRE Geocoding Add-in for Excel, nor the text-based module (VBA code) works.
Popular Search:How do I, What is, Why

Geocode script doesn’t work – The A.CRE Geocoding Add-in for Excel, nor the text-based module (VBA code) works.

39 views 0 January 17, 2021 Updated on November 26, 2022

The A.CRE Geocoding Add-in, as well as the manual VBA code for auto-populating latitude and longitude, are used successfully and without issue by thousands of people every day. Nevertheless, due to fact that the user must create a connection between the add-in/code, and Google’s Geocoding API, users who are unfamiliar with the API often run into technical issues. We have put together a list of common solutions to help:

Troubleshooting the A.CRE Geocoding Add-in:

  1. Receiving a ‘REQUEST_DENIED’ error in Excel when attempting to use the add-in? This is due to an issue with your Google API key. It’s similar to a ‘incorrect password’ error when attempting to login to a website. Effectively, Google doesn’t recognize the API key or the key was not setup correctly. Return to the ‘Using the A.CRE Geocoding Add-in’ section above, paying special attention to the Google instructional videos in items 1 through 5.
  2. Are cells returning blank when using any of the A.CRE Geocoding Add-in functions? This occurs when the add-in has been disabled. To enable the add-in, go to the ‘GeoCode’ ribbon and click the ‘Addin Status’ button. Then click ‘Enable’.
  3. API Key not working? This is almost always because the key was not setup properly, and billing details provided to Google. Find instructions for getting a Google Geocoding API Key here.

Troubleshooting the GOOGLE GEOCODING CUSTOM FUNCTION VIA VBA

  1. Failure to Enable XML v3.0 library. In order to use this function you must enable the XML, v3.0 library from VBA editor. To do this, ‘Go to Tools -> References -> check the Microsoft XML, v3.0.
  2. You haven’t inserted a proper API Key into the code. As of 2018, the code requires you to insert your own Google Maps Geocoding API key. And as of 2019, it’s necessary to attach billing information to your Google account and link that to your Google project. To get a free API key from Google, use this quick start guide provided by Google.
  3. Getting a #VALUE, #NAME, or ‘Server denied the request’ errors. There are a handful of reasons for these errors but generally these errors are because either the function wasn’t setup correctly or the Google API key wasn’t setup correctly. My best advice if you’re struggling with one of these error is to:
    1. Follow the instructions to the T. I know that’s easier said than done, but if you’re not saving the file as a Macro-Enabled file, not turning on Microsoft XML 3.0, entering the API key in the wrong place, inadvertently deleting something from the VBA code, or not entering the address correctly, etc, than you will get an error.
    2. Make sure you’re running the most recent version of Excel. This code may work with older version of Excel, but I have not tested it on versions earlier than 2016.
    3. Make sure you have billing details on file with Google in order for your API key to work. While Google gives you a certain number of API requests for free, Google requires users have a credit card on file to avoid abuse of the API.
    4. Also here’s a quick tip. If you use the GETCOORDINATES() function, the VBA code has a few built-in custom error messages that will help you troubleshoot what you’re doing wrong. For instance, if you haven’t setup your API key correctly, the cell will output: “Invalid API Key”.

Was this helpful?

Yes  No
Related Articles
  • Strikethrough Lines Appear in Certain Cells After Downloading and Using an A.CRE Model
  • Are there any limitations in the ORI Module of the All-In-One Model?
  • Waterfall Distribution % and Promote Calculation
  • Microsoft has blocked macros from running because the source of this file is untrusted. What do I do?
  • Trouble downloading a model?
  • Would you please tell me how to change completion date for the Condominium Development Model?

No luck finding what you need? Contact Us

I have a question about a model...

  • Geocode script doesn’t work – The A.CRE Geocoding Add-in for Excel, nor the text-based module (VBA code) works.
  • Strikethrough Lines Appear in Certain Cells After Downloading and Using an A.CRE Model
  • Microsoft has blocked macros from running because the source of this file is untrusted. What do I do?
  • Trouble downloading a model?
  • Macros are disabled – I downloaded your model and the macros are disabled. How do I enable them?
  • The link is broken and I can’t download the file
View All 16  

Popular Articles

  • Argus vs. Excel vs. Others – And Why the Focus on Excel?
  • Do you have any calculators for yield maintenance pre-payment penalty on multifamily loans?
  • I need help to modify (customize) the model
  • As a college student with no experience, do you recommend I take the ARGUS certification training and exam?
  • What happens when my Accelerator Membership Expires?

KB Categories

  • The Accelerator (Non-member
  • The Accelerator (Members
  • Website Troubleshooting
  • I have a question about a model…
    • A.CRE Geocoding Excel Add-In
    • All-In-One
    • 3-Tiered Acquisition Debt Module
    • Actual + Forecast Construction Draw Schedule
    • Advanced Amortization Model
    • Apartment Acquisition Model with Monte Carlo Simulation Module
    • Apartment Development Model
    • Back-of-the-Envelope Office, Retail, Industrial Acquisition Model
    • Basic Hotel Acquisition Model
    • Commercial Mortgage Loan Analysis Model
    • Condominium Development Model
    • Construction Draw and Interest Calculation Model
    • Ground Lease Valuation Model
    • Equity Waterfall Model with Monthly Periods
    • Excel Pro Forma for Flipping Houses
    • Hotel Acquisition 2.0
    • Hotel Development Model
    • Hotel Valuation Model
    • Industrial Real Estate Development Model
    • Loan Payment Schedule and Balance Tracking Tool
    • Mixed-Use Development Model: Condo and Retail
    • Multifamily Apartment Acquisition Model
    • Multifamily Redevelopment Model
    • Multifamily Value-Add Acquisitions
    • Real Estate Acquisition Due Diligence Checklist
    • Real Estate Acquisition Model – 2.0
    • Real Estate Capital Account Tracking Tool
    • Real Estate Portfolio Valuation Model
    • Residential Land Development Pro Forma
    • S-Curve Forecasting
    • Self Storage Development Model
    • Simple Acquisition Model for Office, Retail, and Industrial
    • Single Family Home Construction Pro Forma for Home Builders
    • Single Family Residential Investment Analysis Model
    • Single tenant NNN Lease Valuation Model
    • Value-Add Apartment Acquisition Model
    • 4-Tier Equity Multiple Waterfull
    • Waterfall Model for Real Estate Joint Ventures with Catch-Up
    • Waterfall Model with Cash-On-Cash Hurdle
    • Waterfall Model with Catch Up and Clawback
    • Waterfall Model with IRR and Equity and Multiple Hurdles
  • What model should I use for…?
  • Career Advice
  • Financial Modeling Questions

  Getting ‘Server Denied’ or Request Denied

Not finding an answer to your question?

Click here to contact us

About A.CRE

Adventures in CRE is the most popular real estate financial modeling, education, and careers website on the web. Use this section to get help with models, the site, or the Accelerator.

Help Sections
  • A.CRE Help
  • My Account
  • FAQs
  • Knowledge Base
  • Glossary
Knowledge Base

I have a question about a model…

What model should I use for…?

The Accelerator (Non-member)

The Accelerator (Members)

Career Advice

A.CRE

A.CRE Home

Join the Accelerator

Download a Model

CRE Careers

 

 

 

  • Privacy Policy
  • Terms of Use
  • © Adventures in CRE, LLC. All Rights Reserved.

Popular Search:How do I, What is, Why