• Professional Development
  • Medicine & Nursing
  • Arts & Crafts
  • Health & Wellbeing
  • Personal Development

Course Images

VBA in Excel - Part 1

VBA in Excel - Part 1

  • 30 Day Money Back Guarantee
  • Completion Certificate
  • 24/7 Technical Support

Highlights

  • Delivered Online or In-Person

  • Delivered at organisers' location

  • Horsham

  • Full day

Description

Following on from the Macros course look at how you can write your own Visual Basic code within Excel to fully automate tasks and save time.



77df68e-28e4-057f-41d6-ca1d3577146_Course_Overview_Icon.png
Course overview

Duration: 2 days (13 hours)

Our VBA in Excel course is an introduction to using the Visual Basic for Applications language for programming in Excel. It looks at structures, syntax and coding standards.

This course is designed for existing experienced users of Excel who can record and run macros and those who have dabbled in VBA but would like some formal training and help to put some structure to their code.


8ba0826-4fb5-333c-0ea4-28c13064336b_Objectives_Icon.png
Objectives 

By the end of the course you will be able to:

  • Write visual basic procedures

  • Create event and general procedures

  • Use commands from the Excel data model

  • Use statements and functions

  • Use a selection of debugging tools

  • Create and use variables and constants

  • Use different types of loops

  • Create an Excel user form

cbd24e-e374-8bf2-2a2e-66ae236e51d4_Content_Icon.png
Content

The VBA environment

  • Project explorer

  • Excel objects

  • Modules

  • Properties window

  • Code window

Code structure

  • Code structure

  • Navigating within your code

  • Adding comments

  • Using WITH

  • Steps to creating a VBA procedure

Procedures

  • Sub procedures

  • Event procedures

  • Calling procedures

The Excel data model

  • Workbook commands

  • Worksheet commands

  • Excel selection methods

  • Data manipulation commands

Debugging

  • Using breakpoints

  • Stepping through code

  • The immediate window

  • The watch window

  • The locals window points

Variables and Constants

  • Declaring variables

  • Declaring multiple variables

  • Variable data types

  • Concatenation

  • Scope of variables

  • Constants

  • Declaring constants

  • Using constants

  • Scope of constants

Looping

  • Do while loops

  • Do until loops

  • For next loops

Conditional Statements

  • IF statement

  • SELECT CASE statement

  • Comparison statements

  • Logical operators

Creating a User Form

  • Form layout

  • The control toolbox

  • Naming conventions

  • Adding objects

  • Naming objects

  • Captions

  • Displaying the form

Object properties

  • Object properties

  • Setting properties at design time

  • Setting properties at run time

Interconnectivity between the user form and Excel

  • Comparing values

  • Transferring information

  • Running code

About The Provider

We offer bespoke programmes and off-the-shelf training courses to help you build sustainable capability in your teams. 
Read more about Underscore Group

Tags

Reviews