Tag Archives: Automation

Is VBA Worth Learning? Yes, Believe it or Not

The answer to this question is undoubtedly “YES!!!” You may be thinking, “Is VBA even still a thing?” “Is it a dead programming language?” “Why should I even bother learning VBA?” Hear me out, and Iet me explain why the language is still worth learning.

Guide: The Document Object Model in VBA

The logical structure of a document (Excel, HTML, XML, Word, etc) is called a “document object model.” It can be used to access and work on the properties, methods, and events of the object. For example, in a Word document, there could be shapes/pictures, text,

What are SendKeys in VBA?

An Introduction to Automation Every user of a computer has some mundane task to do every day. For example, you may have to execute something at a particular time on your machine or check the value of some stock or commodity every minute if you

Excel VBA, Export Worksheet to Blank Access Table

In this article I will explain how you can export values from an excel worksheet to a new blank Access table. – Step 1: The first step would be to connect to an existing access database or create a new access database. In this example we

No Thumbnail

VBA, Open Access Database From Excel

In this article I will explain how you can open an existing Access database from Excel using VBA. If you wish to only import the data into excel you could use the topic covered in the article below: Excel Connect To External Data (Access Database ) In

No Thumbnail

VBA, Excel Automation From Other Applications

In this article I will explain how you can automate an Excel workbook from another application. There are basically two methods for automation: Early binding Late binding I have explained the difference between these two methods when I was explaining about word automation: VBA, Automating

No Thumbnail

VBA, Write Excel Values to Word Document

In this article I will explain how you can write data from an excel workbook to a word document. The first step in doing this is to determine where the code is going to be written. There are 3 options: In the excel workbook In the

No Thumbnail

VBA, Automating Word From Excel

There are 2 methods for initiating a word application from excel using VBA: Early Binding Late Binding Basically in early binding we define what object we are creating reference to before program execution. In late binding, the program won’t know what we are creating reference to

Excel VBA, Export Worksheet to Existing Access Table

In this article I will explain how you can export values from an excel worksheet to an existing Access table. – Step 1: The first step would be to connect to an existing access database or create a new access database. In this example we will be