Excel Step-by-step Masterclass: Create Excel VBA apps with MySQL & Virtual Forms & Excel VBA

Davor Geci, [email protected], Programmer | Excel VBA

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
55 Lessons (5h 16m)
    • 1. Course Introduction

    • 2. Why MySQL as a database

    • 3. MySQL server & MySQL Workbench installation

    • 4. Creating a MySQL database and first tables using a model

    • 5. Creating first relationships or foreign keys

    • 6. Create MySQL Database from Model (Forward Engineer)

    • 7. Create a Model from MySQL Database (Reverse Engineer)

    • 8. Update (Synchronize) MySQL database schema & Model

    • 9. About Virtual Forms for Excel VBA

    • 10. Downloading & Installing Virtual Forms Framework for Excel VBA

    • 11. Setup your Project Files & Folders

    • 12. Excel Developer Tab

    • 13. Creating a MainMenu Userform in Excel VBA

    • 14. Adding a reference to the Virtual Form control in Excel VBA

    • 15. Creating a public instance of the Virtual Form control object in Excel VBA

    • 16. Writing Initialization and termination code in Excel VBA

    • 17. A quick answer to our connection string challenge

    • 18. Troubleshooting connecting to MySQL in VBA explained in detail

    • 19. Tip: Error "Class does not support Automation or does not support expected interface

    • 20. Excel VBA code for opening the Virtual Form Designer

    • 21. Explaining the Virtual Form parts (structure)

    • 22. Create your first Virtual Form with VF Designer for Excel

    • 23. Tip: Why use Primary Key with Auto Increment

    • 24. Creating more Virtual Forms and opening them from Excel VBA

    • 25. Tip: "I call the ShowVirtualForm function and nothing happens"

    • 26. Change the Virtual Form caption and label captions

    • 27. Change the decimal places

    • 28. Maximum Length & Width of the Edit & Grid Field

    • 29. Create a simple Lookup Virtual Form

    • 30. Search for MySQL Database hosting - Intro

    • 31. What do we need for our database

    • 32. Choosing the right hosting provider

    • 33. Passive income through a web hosting affiliate program - Intro

    • 34. What is affiliate marketing in few simple words

    • 35. Setting up MySQL server and database on a shared hosting - Intro

    • 36. Creating an account with your web hosting provider

    • 37. Creating a MySQL database on a shared hosting server

    • 38. Export your database to MySQL server on Shared Hosting using Forward Engineering

    • 39. Differences between Windows & Linux related to the MySQL server

    • 40. Changing connection string from local to hosted MySQL database in Excel VBA

    • 41. From Excel VBA to VB.NET

    • 42. Creating a Customers table using a SQL script

    • 43. Add Customers Virtual Form to Main Menu Userform in Excel VBA

    • 44. Grid control change the order of columns

    • 45. Grid control change the width of columns

    • 46. Grid control initial sort field

    • 47. Grid control hide column

    • 48. Grid control change the Alignment of the grid column

    • 49. Virtual Forms partially responsive design

    • 50. Edit control change the Tab order of Textboxes

    • 51. Edit control change position of Textboxes

    • 52. Edit control change the Tab order of Textboxes 1

    • 53. Edit control responsive design after repositioning of Textboxes

    • 54. Edit control reset the positions of Textboxes

    • 55. See us in the next lesson - This is not the END


About This Class

Excel Step-by-step Masterclass-Create Excel VBA desktop apps using MySQL database quickly with Virtual Forms & Excel VBA

Microsoft Excel & Microsoft Power BI are the most popular and used tools for analyzing and visualizing data. 

BUT, Microsoft Excel is not created for gathering data, especially in gathering relational data like master-detail structures

One basic, simple Excel example. You want to gather (or track) Orders in Excel and then for this Orders you want to track Order Details and, for example, Order Payments and all that using Excel. 

Not to mention, to do this in a multi-user environment also in Excel 

Boy,....., You will have a tough time to do this with Excel, because Excel is simply not created for challenges like this, to gather master-detail data and also in a multi-user environment within the normal Excel environment.

But in this course "Create Excel VBA apps using MySQL database & Virtual Forms", You will learn how you can do this by using Excel VBA as a front end and MySQL database as a backend, whether the MySQL database is on your local machine, your local network, or on the web server. We will do this with help of a small tool called Virtual Forms.

And then you can connect to this data from Excel and use it whether we want to: 

  • create dynamic reports with Excel Pivot Tables & Pivot Charts & Graphs 
  • data analysis 
  • financial modeling 
  • help identify trends & forecasting
  • create Excel Dashboard
  • use Excel formulas & functions
  • analyze Statistics using Excel or Power BI on that collected data
  • and many other interesting and useful things


I'm Davor Geci the CEO and the Lead Developer of WinPIS, the company that's behind a popular tool that brings to Excel what Access developers are having for decades. 

It is the ability to create CRUD Forms in Excel, forms to create, read, update and delete records that are stored in databases like MySQL, MSSQL, Access (On-premise or on the web) and use the data within Excel VBA and all that in minutes

It is similar to what Access can do, but you could also port this Virtual forms from Excel VBA to Visual Studio 2017 (C# or VB.NET)

You can not do this with Access VBA or natively with Excel VBA !

So, you just need to create a database and tell the Designer which fields you want on your form that is opened from Excel VBA code.

Once created Virtual Forms can be also used as LookUp forms in Excel VBA with no extra work, just as you would do VLOOKUP an HLOOKUP in Excel functions & formulas. 

All the controls that are generated on this Virtual forms can be accessed with Excel VBA (or if you use Visual Studio 2017 with  C# or VB.NET). 

Virtual form control also fires events, so it allows us to interact with it, in a similar way normal UserForms in Excel VBA do. But in a more data-centric way.

Before you dive in, it's probably a good idea to just check out the structure of the course "Create Excel VBA apps using MySQL database & Virtual Forms".

In this course, You will learn how to quickly create database applications using Microsoft Excel VBA and a MySQL database that is hosted somewhere on the internet or in your building (so-called on-premise) and all that with help of the Excel VBA & a small tool called Virtual Forms.

In the first part of this course, You will learn how to create your first database app that will use Excel VBA as a front end, and a MySQL database as the back end. You will also learn how to install a MySQL server on your machine or anywhere in your network and use it as a data source. Also, in the first part of the course, you will learn how to install and use MySQL Workbench that help us to create and maintain MySQL databases.

Don't worry, I will go slow!

Not only you will learn how to create your Excel Virtual Forms and write a few lines of Excel VBA code to master them, 

you will also learn how you can make money with your Excel apps by leveraging an affiliate program from a 3rd party web hosting company where you will host MySQL database.

And then, you will also learn how to transform your Excel VBA database applications with MySQL database as the datasource to C# or VB.NET with almost no change to the Excel VBA code.

So, enroll now, try it out, learn new things in Excel VBA and MySQL, have fun with me and create your Microsoft Excel VBA apps in minutes. 


What will you achieve or be able to do after taking this course?

  • How to create with confidence fully-functional Excel VBA Database applications for CRUD (Create, Read, Update, Delete) that connects to MySQL database, with almost no coding
  • How to easily create MySQL databases with Drag&Drop using MySQL Workbench in minutes, cutting out the useless fluff and filler
  • Step by step walkthrough on how to make passive income with your Microsoft Excel & Virtual Forms applications leveraging a 3rd Party Affiliate web hosting
  • How to reuse projects from Excel VBA (created with Virtual Forms Framework) in Visual Studio 2017 VB NET or C#
  • Master Excel & VBA & MySQL & Virtual Forms
  • Make your work-life easier with Excel

What knowledge & tools are required?

  • You need to have Windows version of Microsoft Excel
  • Fundamentals of Excel & VBA are preferred
  • A computer with Windows & Excel to install all the free and trial software and tools needed to build your new Excel VBA apps that connect to MySQL database (I provide specific videos on installations for each tool)

Who should take this course?

  • Want to Quickly build stunning Desktop Database Applications in Excel VBA & MySQL database in minutes
  • Business Professionals who'd like to simplify & automate workflow using Excel & VBA
  • You currently use Excel and like to improve your skills

So, Join me inside NOW!

Cheers, Davor