
Develop Excel VBA to interface with Google services, Azure clouds, REST APIs, and artificial intelligence; sync Excel with Google Sheets, import and export big data, and build REST API workflows.
VBA is a critical capability for large numbers of Microsoft customers.
Accordingly, there is no plan to remove VBA from future versions of Excel”.
But that was in 2008, way before the cloud storm closed in.
What is the commitment Microsoft is willing to give us in 2020+ about VBA?
Even though today primarily Python and PowerQuery are used and are becoming more popular and efficient, can VBA still be needed?
Google Sheets and Excel are very similar
They often use the same formulas, and you can troubleshoot them in similar ways.
But each platform has unique strengths that appeal to different audiences.
Which one is for you? Maybe both?
Connect Google Drive and Sheets using VBA. Read, Write, Upload, Download, List files, Create, Delete, and more
In this and the next videos we will see five different methods to import data from Google Sheets using Excel VBA.
One way or another, there is always a HTTP request to the Google web resource that connects with the Google spreadsheet.
The main difference between the various methods presented here has to be found in the Google web resource/API URL used to access the data.
Another important difference is the format of the output data. Some methods allow to get only public data, while other may also let import private or restricted data.
Learn to retrieve data from a public URL in excel VBA by making an HTTP request with MSXML2.XMLHTTP, parsing an HTML table, and populating sheet two with rows and columns.
Explore how to retrieve data from Google Sheets using the Google Visualization API, build a query, obtain a JSON response, and prepare it for Excel VBA.
Encode query in Excel using encode URL, then retrieve data with the Google Visualization API and parse the JSON to access records.
Discover how to retrieve data from Google Sheets using the Sheets API by building a request with sheet ID, sheet name, range, and API key, plus authentication for restricted access.
Set up a lightweight Google authentication object with client ID, client secret, and scope to access the Sheets API, authenticate once, then import or export data.
Retrieve data from Sheets API by configuring the Google console with client ID, client secret, and API key, then grant permissions to access the data.
Retrieve data from a protected Google Sheets with Excel VBA by sending an http request using xml and reading the response text, demonstrating how to access restricted sharing data.
Import a google sheets table as HTML by building an HTML string in VBA, looping through rows and cells, and deploying a web API.
In this and the next videos we will see how to upload or export data from Excel to Google Sheets using VBA macros.
The VBA macro sends a HTTP request to POST the data through a Google Form into the Google spreadsheet.
For that reason, we need to add the Microsoft XML 6.0 library to the VBA project.
We also need to link the recipient Google spreadsheet to a Google Form, which needs to have as many fields as data columns to be exported from Excel.
Publish the Google form to the web, copy the URL, and use a VBA subroutine with a web query to pull form data into Excel.
Discover how to retrieve details from a Google Form with Excel VBA by inspecting the HTML, capturing the post URL and payload, and extracting name, address, and hidden fields.
Define the url and parameters in the macro project, build a get request to import Google Form data into Excel, use a web query, and view responses.
In this and the next video we will see how to send encrypted data to a public google form to act as a central point to gather data. Also decrypting the data on the way back.
Post data from Excel to Google Sheets using VBA and MSXML 6.0, encoding parameters, setting headers, and sending an HTTP post to update the sheet.
Apps Script is a coding language designed to do more with Google applications e.g., Drive, Docs, Sheets, Calendar, Gmail, and more.
It is based on JavaScript and runs in the cloud rather than on your device.
It is helpful for automating things you might do in Google apps or finding creative solutions to problems.
Explore displaying messages in Excel VBA with MsgBox, and alerts via the UI object in JavaScript or Google sheet script; save, run, and import macros to execute sheet functions.
Design objects in Google Sheets by inserting shapes, then assign scripts to them, highlighting case-sensitive script names and the macro-enabled workflow for automation across sheets.
Learn to format and reference ranges in Excel VBA, set and get values using ranges and cells, and understand the object hierarchy in Google Sheets scripts.
Discover how to clear content and formats in a Google Sheets range using Apps Script, choosing between clearing content, clearing formats, or both.
Learn how to implement conditions in JavaScript for Google Sheets apps, using if, else, and else if with loops, range values, and compare top with bottom to drive macro logic.
Combine data from three sheets into a single result sheet in Google Sheets by extracting values from each sheet and placing them into a coordinated destination range.
Combine data from multiple sheets in Excel VBA by aligning columns, using variables to track progress, and stacking tables with array concatenation to create a unified table with headers.
In this video, I will show how to display a Google Map on Excel using VBA.
Using the Google Maps API to retrieve the distance and duration of travel between two locations in VBA.
Create a Google Cloud project, enable Maps APIs such as Places and Directions, generate an API key for VBA, and parse the returned JSON values for use.
Create a Google Sheets function for Google Maps services, handling return types and converting distances between metres, kilometres, miles, and minutes, with necessary imports and an API key note.
Discover how to use artificial intelligence to generate VBA code and obtain an OpenAI API key, sign up on OpenAI, and apply AI to VBA projects.
Learn to call the OpenAI API from VBA by configuring an API key, posting a JSON payload to the completion endpoint, and parsing the JSON response.
Discover how to install and configure the ChatGPT add-in in Excel, enable the artificial intelligence assistant, enter your application programming interface key, and use built-in functions without VBA.
Use the ChatGPT add-in in Excel to generate insights from data, including headers, and see AI-driven analysis like identifying a 15% tax rate across A, B, C, E, and G.
Use the AI assistant translator to translate text in Excel into languages such as Spanish, German, and Italian, enabling quick translation with ChatGPT-powered tools.
Explore how to extract information from a text string in Excel using the extractor function, pulling fields like names and locations to turn unstructured data into structured details.
Use the AI assistant in Excel to fill missing data by selecting a range and providing a precise reference, retrieving entries such as Italy, Milan; Germany, Munich; or Lebanon, Beirut.
Discover how to use Excel's native chat function with the AI assistant ChatGPT to perform calculations and access AI help directly inside Excel.
Discover how to use the ChatGPT assistant to write Excel formulas, reference cells like A1, apply conditional logic, and adapt syntax such as semicolon versus colon.
Explore using the ai assistant chat function in excel to input two values with locale-aware separators, save results, and recall previous calculations to quickly compute squares.
Convert a VBA subroutine into a ChatGPT-enabled custom function in Excel, with text input and an optional word count, enforcing a max word limit and trimming a trailing dot.
Using VBA loops to create Power Queries from all the tables in a workbook.
Learn to use vba to import data into excel tables, record and run macros, create named tables and sheets, and link data with queries for Power BI.
This video will demonstrate how to convert macro enabled excel file to google sheet. macro converter add-on in google sheet.
U will show you how to access any data stored in Excel from Google Sheets.
It doesn’t even matter what version of Excel you have!
In this and the next videos, you will learn how to connect Google Sheets with Microsoft Excel.
This is a one-time setup. After that, when you update the Google Sheets, the updates will be reflected in the Excel file.
Learn to auto synchronize Excel with Google Sheets by importing CSV data via Google Apps Script, creating a sheet, fetching the CSV from Google Drive URL, and populating cells.
Learn to synchronize Google Sheets with an Excel file by importing web data, publishing the sheet to the web, and configuring automatic refresh every two minutes.
How to auto-synchronize data from Microsft Excel to Google Sheets.
This is for you if you have an Excel file on your computer, and you want to update the data to Google Sheets when you make some updates to the Excel file.
In this and the next video I will show you how to import tables and lists from a webpage to Google Sheets.
Using the IMPORTHTML function in Google Sheets allows this import to be done very quickly.
You can customize the data you import from the web by limiting columns or adding filters to get exactly what you want in Google Sheets.
This is done by adding the QUERY function along with the IMPORTHTML function in Google Sheets.
Explore tools to synchronize Microsoft Excel with Google Sheets, enabling local and online collaboration, using Sheetgo, Zapier, Make, Copper.io, and related pricing.
Set up a free Make account, sign up with Google, and create a custom webhook to synchronize Excel with Google Sheets using VBA.
Connect Excel VBA to Google Sheets and set up a live sync of spreadsheet data using sheet names, columns, rows, cells, and webhooks.
In this course you will see if it makes sense to learn and use Visual Basic for Applications to create applications to exchange and manipulate data between Microsoft Excel and other services and new technologies e.g. clouds, big data (Power BI), APIs, Google Services and Artificial Intelligence.
In details we will see:
How to use VBA to export data From Excel to Google Sheets
How to use VBA and Apps Script to import data From Google Sheets to Microsoft Excel
How to run Google Services From Excel VBA
Apps Script, the VBA for Google Sheets (we will see the main functionalities of the scripting language for Google Docs)
How to use VBA to exchange information between Microsoft Excel and Google MAPS
How to use VBA to interact with your Google Calendar
How to use VBA to interact with Artificial Intelligence (chatGPT and OpenAI) and integrate AI functionalities on Excel files
How to use VBA to import and manipulate Big Data
Special Functions e.g.
How to convert Macro enabled Excel file to Google Sheet,
Export Excel to Google Sheets,
How to Connect Microsoft Excel with Google Sheets, Auto-Sync Data from Excel to Google Sheets,
How to Download Google Sheet using Excel VBA, How to Import Data from Webpages into Google Sheets, How To Create A Real-Time Sync Between Excel & Google Sheets
How to use VBA to access data on an Azure cloud
How to use VBA to access REST Web Services