VBA (Visual Basic for Applications) is very widespread thanks to its availability in Microsoft Office. Combined with VBA, which is used as its macro language, Microsoft Excel has become a de facto standard, firstly in banks and then across all sectors. This success arises from the need to manipulate data and automate processing and calculations, which are all tasks that often confront statisticians.
- The VBA development environment
- VBA: Types, definition of variables, constants, arrays. Assignment, flow control, loops. Scope of a variable, memory. Functions, procedures, argument passing.
- Interaction between Excel and VBA: Recording macros. Rewriting and adapting the recorded code. Using Excel objects.
- Example of algorithms and implementation in VBA