Professional Documents
Culture Documents
Applications of
Information Technology
Introduction to VBA
1
T2-Lecture 1
2
T2-Lecture 1
3
T2-Lecture 1
Excel Button
(Alt+F11) The Basics of VBE (3)
Project
Explorer Module
Window
Properties
Window
4
T2-Lecture 1
5
T2-Lecture 1
6
T2-Lecture 1
3. Function AreaCirc(diam)
AreaCirc = 0.7854 * diam^2 =AreaCirc(5)
End Function 19.635
T2-Week 1 IT Applications - Lecture 1: Introduction to VBA 14
7
T2-Lecture 1
6. Function Quad(x, a, b, c)
Returns a quadratic function at point x
Quad = a*x^2 + b*x + c
End Function
=Quad(5.1, 1, -1.2, 2)
21.89
T2-Week 1 IT Applications - Lecture 1: Introduction to VBA 15
8
T2-Lecture 1
9
T2-Lecture 1
10
T2-Lecture 1
By alphabetical list
http://www.techonthenet.com/excel/formulas/index_vba_alpha.php
11
T2-Lecture 1
12