Programming with VBA Excel

Formation inter-entreprise

À qui s'adresse la formation?

Tout public

Durée

3,00 jour(s)

Langues(s) de prestation

EN FR

Prochaine session

Prérequis

Experience in the use of Microsoft Office system products, particularly in Excel, is preferred. No previous programming experience is required.

Objectifs

In this hands-on course, you will learn the basics of programming and VBA from the ground up. You will develop the skills needed to automate repetitive tasks, design interfaces for users and increase performance to improve user productivity.

Contenu

Introduction to VBA

  • Language type
  • Scope of application
  • VBE Environment
  • Program Scope

Macros

  • Recording and running macros
  • Limitations of recorded macros
  • Improved automatically generated VBA code

Introduction to programming

  • Structure of a macro
  • Variables and data types
  • Constants
  • Conditional structures (IF, CASE)
  • Loops (WHILE, FOR)
  • Objects (Methods, Properties, Events)
  • Excel objects (workbook, sheet, etc.)
  • Collections

Debugging

  • Step by step
  • Immediate window
  • Breakpoints

Procedures and Functions

  • Differences
  • Usage
  • Arguments

Message boxes

  • Information boxes
  • Input boxes

Creating a user interface

  • ActiveX controls (TextBox, Combobox, Checkbox, ListBox, etc.)
  • Event Programming

Error handling

  • The GoTo Error structure.
  • Error handling in code.
  • Error Resume.

Exporting code

  • Creation et insertion of addins.

Security

  • The dangers of macros.
  • Security levels.
  • Code protection.

Tips & tricks from Professionals

Mode d'organisation

Classroom Courses

Ces formations pourraient vous intéresser

EN
Journée
Logiciels - Logiciel bureautique - Logiciel traitement texte - Logiciel WORD
EN
Journée
Logiciels - Logiciel graphique - Logiciel PAO - Logiciel InDesign
EN
Journée
Logiciels - Logiciel bureautique - Logiciel traitement texte - Logiciel WORD