COURSE FINDER

Advanced VBA (Visual Basic for Applications)

Categories: Visual Basic Training
£755 per delegate. This may be less for special offers on specific course dates and in-company training courses

Duration: 2 days

Trainer: S047OW

Need course dates or locations to suit you? CLICK HERE TO SEND ENQUIRY...

Introduction

If you already know how to create subroutines in VBA, are happy declaring variables and can write loops and conditions without a qualm, this is the course for you! Assuming a good working knowledge of Visual Basic for Applications, the course shows you how to loop over collections, reference other applications, work with files in all of their manifestations, create your own classes (!) and much more. The course uses examples drawn from Excel, Access, Word and Outlook.

Course Contents 

Revision of VBA

- Objects and collections
- Methods and properties
- Looping over collections
- Using object variables

Links to other applications

- Referencing other applications
- Instantiating objects
- Writing inter-application code 

FileSystemObjects

- Referencing FileSystemObjects
- Working with files and folders

FileDialogs

- Using FileDialogs
- Allowing multiple selection

Working with text files

- Avoiding using INPUT/OUTPUT
- Reading and writing text files

Class modules

- What is a class?
- Designing classes
- Creating properties and methods
- Consuming classes

Advanced class modules topics

- Untyped collections
- Creating typed collections
- Creating event sinks

Linking to data*

- ADO or Access Database Engine
- Referencing the right library
- Opening and using recordsets

Arrays

- Creating and populating arrays
- Dynamic arrays
- The PRESERVE keyword

Passing arguments

- ByRef and ByVal
- Using optional arguments
- Using ParamArray

Advanced programming ideas*

- Using functions in code
- Recursive programming
- Enumerations

Working with shapes*

- Adding shapes
- Positioning shapes
- Formatting shapes

Please note that any items marked with a * will be covered if time allows.

Course Times

Usually 9.30am - 4.30pm. Course times will be confirmed in the Joining Instructions once the course has been booked.
The course either has new dates in data loading, or is only run as a dedicated or In Company course.
  • Corps Construct Logo
  • Safety & Health Logo
  • Hawks Logo
  • Know How Logo
  • SYNERGIETRAINING Logo
  • Induct Ltd Logo
  • Ace Safety Logo
  • 1UPACCESS Logo
  • BAM Construction Training Logo
  • Citrus Training Logo
  • 3B Training Logo
  • Astutis Logo
  • Construction Industry Training Providers Logo
  • Health Life and Safety Logo
  • MI Construction Training Logo
  • Innov8 Training Logo
  • BSI Training Logo
  • OM Safety Training Logo
  • TotalComms Training Logo
  • SDA Safety Logo
  • Construction Skills People Logo
  • Phoenix Health and Safety Logo
  • Harris Safety Training Logo
  • First Response Training Logo
  • Alliance Learning Logo
  • ALS Safety Logo
  • KeyOstas Logo
  • Libben Health and Safety Logo
  • Global Management Academy Logo
  • Illumine Logo
  • CCAS Health and Safety Logo
  • ROSPA Logo
  • PJH Safety Training Logo
  • OMS Logo
  • Tala Training Logo
  • PRS Health and Safety Training
  • SSG Training and Consultancy Logo
  • RB Services Logo
  • Safety Training Services Logo
  • Clarkson Evans Training Logo
  • Lighthouse Training Logo
  • The Building Safety Group Logo
  • ProSafety Logo
  • Total Training Solutions Logo
  • Kentec Training Logo
  • Total Electrical Training logo
  • NTSS logo
  • Frinton Training logo
  • Envesca logo
  • The Safety Maintenance Company logo
  • APT Health and Safety logo
  • Sandwell Training Association logo
  • PC Workshops logo
  • Zero Harm Training logo
  • R2 Training logo
  • The Bradley Group logo
  • Risk Health and Safety logo
  • Wise Global Training logo
  • Total Training Company Logo
  • Sibbald Training logo
  • Total Construction Training logo
  • UTN Training logo
  • Collective Safety Solutions logo
Telephone Hotline (footer image)

Telephone Hotline

01933 233884

(Monday to Friday - 8:00am to 5:30pm).

© 2020 Book My Course Limited. All rights reserved

Home | About Us | Contact Us | FAQs | Privacy Policy | Terms & Conditions | Site Map | News / Articles | Cookie Policy