This is a demo of a recent client project. Based on my Google Distance Calculator example (go here to view and download). Below is a video demo and downloadable example of the project. Technologies Used: Excel VBA, Google Maps Distance Matrix API, Google Maps Static Map API. My client needed a list of addresses to […]
Continue readingTag Archives: VBA
Solving line breaks and other unstructured data when importing CSV files
I’m going to provide a sample text file and a sample Excel VBA macro file for you to test. You can find the download below. Structured Data is Nice but Not Always Possible It would nice if every system had the ability to export data in more structured formats, like XML or json, rather than […]
Continue readingUpdated: Microsoft Excel VBA and Google Maps to calculate distances and time from multiple locations
Excel File download with VBA and Google Maps to calculate distance and duration between multiple destination addresses. Update 12/17/2019: Important! You must have a Google Matrix API Key and IT MUST BE CONNECTED TO AN API BILLING ACCOUNT! If your billing account is not active or connected to the API account, the tool WILL NOT […]
Continue readingMPAA Content Security Audit Review Tool – free download
We just published the initial version (beta: ver. 0.5) of an MPAA Content Security Audit Review Tool built in Microsoft Excel. The Motion Picture Association of America (MPAA) has a Content Security Best Practices Common Guidelines document that our client needed us to follow to help them pass a digital security audit review. The audit […]
Continue readingMicrosoft Access and Word VBA Document Assembly System Demo
Summary: This demonstrates a methodology and some of the associated technologies I’ve used to create complex and flexible contract generators, proposal generators, and other document assembly systems. Technologies: Microsoft Access (SQL Server*) Microsoft Word – Word Templates – Word Global Template w/AutoText Entries * SQL Server: For simplicity, this demonstration uses Microsoft Access as the […]
Continue readingMoving From Excel to MS Access & SQL Server for Cleaning Up, Extracting, & Reporting on Data
Summary In our own work with data analytics, in coaching financial & business analysts, and with data conversions, we often coach clients to learn and use Microsoft Access or SQL Server, rather than (or perhaps more accurately, in conjunction with) Microsoft Excel. In this article, we explore some of the reasons why. “I suppose it […]
Continue readingVBA to Extract All Excel Formulas in a Workbook
Summary Some visual-basic for applications code to extract all the formulas from every sheet in an Excel Workbook and save them in a text file. Background Avoiding a long explanation, we’ve been writing a reporting tool that combines a Microsoft Access front-end to a SQL Server database. It generates and updates some Excel reports/data visualizations […]
Continue readingSharing Microsoft Excel Data Using SQL Server or Microsoft Access
Summary Demonstrate how data can be cleaned up and shared across multiple users while allowing reports and visualization in well-known and common tools. Technologies Microsoft SQL Server (Express) Microsoft Access & The Access Runtime Microsoft Excel Add-on: Microsoft Power BI The need Provide a data aggregation and cleanup tool with customized and shared Excel reports. […]
Continue readingListing Excel Workbooks and Sheets from Microsoft Access using VBA
SUMMARY: Tutorial to show how to use Microsoft Access VBA to retrieve and display open Workbooks and their Worksheets. I create a lot of dashboards, reporting systems, and document automation projects built extensively using Visual-Basic for Applications. Often, the infrastructure looks like: Microsoft Access as a front-end application. SQL Server as the back-end data repository. […]
Continue readingUsing Excel VBA to Automate SQL Server Data Migration
Data Migration Sucess Some simple concepts to help you with more successful conversion and migration projects. Front-load the Automation Automation requires more work at the start – on the front-end of a project. Create simple data connection and output tools immediately. Doing so will give your team the confidence to defer to the automation tool […]
Continue readingExcel Automation for Data Analysts
Should you learn VBA? Note: A very simple sample file and code can be downloaded just above the video. A lot of “real” programmers dismiss VBA and Visual-basic in general. This is short-sighted for a number of reasons. Building solutions should be about effective solutions, not a myopic focus on the “most powerful tool.” When […]
Continue readingVBA solution: Scraping website information using MSXML, HTMLDocument, and getElementsByClassName
Summary An explanation of how to retrieve/scrape website data using MSXML and HTMLDocument but not using the InternetExplorer Application Object. The problem with the InternetExplorer.Application object I have a few blog entries demonstrating how to get web site data using InternetExplorer and the HTMLDocument object. However, there are a few problems with this: Microsoft is […]
Continue readingQuickbooks SDK iAddCheck using VBA. Add a check from Excel or Access
Someone reading my part 1 of ??? tutorial on Quickbooks – sorry.. read the notes. 😉 – was struggling to find how to add checks. I wrote them this morning about what to look for in the On Screen Reference OSR for the Quickbooks SDK. iCheckAdd Under the Onscreen Reference, there is a iCheckAdd message. […]
Continue readingGet Multiple Distances Using the Google Maps API and VBA for Excel or Access includes sample file
UPDATE 5/1/2019 I’ve updated this tool. To download the updated sheet visit this new blog entry. Or click the image below. … Recently, a client wanted a market analysis showing how far customers traveled to get to their location. They were having employees manually check addresses using Google maps to determine this information and entering […]
Continue readingRetrieve Data from Website in Microsoft Access or Excel using VBA
File Download: Microsoft Access/VBA Sample File Edit: 7/23/2017 – an improvement to this solution. This will require some refactoring. A week or so ago a reader asked (on this blog post), if we could place the file online that performs the operation in this blog post (and video). I’ve included it below as a download. The […]
Continue readingAffordable Care Act Form 1095 Reporting
A project outline. Creating ACA form 1095 data using SQL Server, Excel, and VBA automation.
Continue reading