
We place our code between these two lines.

A module contains subs which in turn contain lines of code. Module: A module is simply a container for our subs. A macro and a sub are essentially the same thing. When we “Run” the sub, VBA goes through all the lines of code and carries out the appropriate actions. Sub: A sub is made up of one or more lines of code. Generally speaking, they perform one task. It is short for Visual Basic for Applications. VBA: VBA is the programming language we use to create macros. Don’t be afraid to work through each tutorial more than once.The more times you do it the more deeply embedded the knowledge will become.Įxcel Macros: A macro is a group of programming instructions we use to create automated tasks.

Then create more complex ones as you get better.

Copy values between difference worksheets.Copy values from one range of cells to another.Copy the value from one cell to another.Understand the difference between a module and sub.When you finish this VBA tutorial you will be able to: 15 Conclusion of the VBA Tutorial Part One.12.3 Writing between variables and cells.11 Copying values between multiple cells.3 Basic Terms Used in this VBA Tutorial.2 The Six Killer Tips For This VBA Tutorial.1 Learning Outcomes for this VBA Tutorial.
