Introduction to Excel Macros and VBA | Training Course
Course Facts
- 2 day course
- Our Trainers are Authorised Professionals
- Live Online or Classroom-based
- Certificate of completion
- Maximum class size of 6 for scheduled courses
- Unlimited support after your course
- Courses at all levels: Introduction, Intermediate, Advanced and Masterclasses
Course Outline
- Basics of Writing VBA
- Selecting Objects and Setting Values
- Setting Format Properties
- Using Variables to Store Information
- Interacting with the User
- Branching and Looping
- Object Variables and FOR EACH... NEXT Loops
Related Courses
We offer Introduction to Excel Macros and VBA as a private course, which means the course content can be fully customised to your exact learning requirements and run on your preferred dates.
Microsoft Excel Private One-to-One Training
One-to-one tuition tailored to your exact requirements. Your choice of duration, dates and content.
Enquire NowMicrosoft Excel Team Training for Companies
Group bookings provide you with the most cost-effective way to train your team.
Enquire NowIntroduction to Excel Macros and VBA — Team Training and Bespoke Sessions
Booking a private training session allows you to focus on your exact needs on dates that work best for you or your team.
- Sessions can be run online or in person, on your site or at our London training centre.
- We manage training for many of the UK’s largest companies, taking care of all the admin, working with you to ensure the perfect course.
- Our expert trainers will first understand your requirements and then tailor each session to your exact specification.
- We offer a free consultation service to work out every detail of your course.
Prices for bespoke sessions with our expert trainers start at £595 + VAT, depending on the course and number of people.
Costs include all preparation time to customise the course to your exact requirements.
Overview of Introduction to Excel Macros and VBA
Course Outline for the Introduction to Excel Macros and VBA Training Course
Basics of Writing VBA
- Overview of VBA and its applications in Excel
- Introduction to the Visual Basic Editor
- Understanding the basics of VBA syntax and structure
Selecting Objects and Setting Values
- Understanding properties and methods in VBA
- Using named vs. positional arguments
- Examples of selecting cells and inserting data
- Practical exercises in selecting and manipulating worksheet objects
Setting Format Properties
- Adding formatting to a worksheet using VBA
- Applying font, color, and alignment settings
- Automating common formatting tasks
Using Variables to Store Information
- Understanding data types for variables (e.g, Integer, String, Date)
- Declaring and using variables in VBA code
- Best practices for variable naming and usage
Interacting with the User
- Using InputBox to get user input
- Examples of automating headers and footers with InputBox
- Using MsgBox to display information to the user
- Using MsgBox to get user input and make decisions
- Combining InputBoxes and MsgBoxes in practical scenarios
Branching and Looping
- Using the IF block for conditional logic
- Applying IF...ELSE...END IF statements
- Using SELECT CASE to test multiple outcomes
- Implementing DO...LOOP and FOR...NEXT loops for repetitive tasks
- Practical examples of branching and looping in real-world scenarios
Object Variables and FOR EACH... NEXT Loops
- Using object variables to reference Excel objects
- Applying the UNION function with multiple object variables
- Using FOR EACH... NEXT loops to iterate through collections of objects
- Real-world applications of object variables and loops in Excel automation
Related Courses
Our Clients






















Why Transmedia?
Unlimited Training Support
We offer unlimited training support after your course.
Bespoke Training Solutions
Customised training and software solutions based on your exact specification.
Worldwide Creative Skills Training
Join our authorised training courses live online from anywhere in the world.
Authorised Training Professionals
Our experts are accredited by Adobe, Apple and Claris and bring years of experience and real-world expertise.
Courses Live Online
Join our virtual classrooms to learn from the comfort of your own space in real time from our accredited training experts.
SEE COURSESClassroom Training
Join us at one of our Authorised Training Centres for a traditional classroom-based experience.
We have everything ready for you to have the best training experience.
SEE COURSESPrivate Courses
One-to-one tuition or a private group training with just you or your colleagues.
We can train you live online, at one of our centres or onsite, wherever you are located.
SEE COURSESUseful Links
- Excel home page – Microsoft page helping you turn data into insights with free and premium spreadsheets
- Excel video training from Microsoft – Videos from Microsoft
- Excel Wikipedia page – The history and capabilities of Excel
- Excel help and learning page – Official Microsoft help page
Latest Help Station Articles