Handson VBA
Handson VBA
-Hands on Workshop
MS Excel /
VBA
concepts, and
EXCEL MACROS – VBA ARCHITECTURE DESIGNING EXCEL
CREATING AND SHEET WITH
EDITING MACROS CONTROLS
8
Dr Nala FinSys Consulting & Training https://www.4kfinlearnte
ch.com
Formulas – > Name Manager
Benefits
10
Dr Nala FinSys Consulting & Training https://www.4kfinlearnte
ch.com
Contd.,
Date (Net Work Days) StatAnal.xlsm (Freq)
Scenario Analysis Financial Modelling Template1.xlsm
(Micro Models; Scenario Summary 2)
Formulas & • StatAnal.xlsm(ScenarioAnalysis)
12
Dr Nala FinSys Consulting & Training https://www.4kfinlearntech.com
• Excel Object Model
• Properties
• Methods
VBA • Procedures, Sub Routines, Functions and
Architecture their Scope
• Variables and their Scope
• Control Tools (Command Buttons, User
Forms)
• Syntax Construction
13
Dr Nala FinSys Consulting & Training https://www.4kfinlearntech.com
• Calling a UDF (VBA Macro) in Excel Sheet
Calling a UDF Financial Modelling Template1.xlsm
(COTBAS)
14
Dr Nala FinSys Consulting & Training https://www.4kfinlearntech.com
• Is the heart and soul of VBA for MS Excel
Excel Object Hierarchy
VBA • Application
15
Dr Nala FinSys Consulting & Training https://www.4kfinlearntech.com
Object
Properties
• Dimensions and Characteristics of Objects
16
Dr Nala FinSys Consulting & Training https://www.4kfinlearntech.com
Methods
• What we can do with the objects based on
their properties
17
Dr Nala FinSys Consulting & Training https://www.4kfinlearntech.com
BYTE 1 byte Number from 0 to 255 for storing binary data
INTEGER 2 Integer from -32 768 to 32 767.
LONG 4 Integer from -2 147 483 648 to 2 147 483 647
SINGLE 4 Numeric data type with float precision to 6 decimal digits
Numeric data type with float precision with double precision in
DOUBLE 8
calculatons
Procedures
Insert – Module /VBA Editor
workingmaterials2.xlsm (Main)
Sub Procedures
Programming
other Procedures / Functions) workingmaterials2.xlsm
Creating
other Procedures / Functions) workingmaterials2.xlsm
Section 3 : Financial
Performance