Introduction To Visual Editor
Introduction To Visual Editor
EDITOR
VISUAL BASIC
is a third generation event – driven programming language and integrated
development environment (IDE) from Microsoft for its Component Object
Model(COM) programming model first released in 1991 and declared legacy
during 2008.
Microsoft intended Visual Basic to be relatively easy to learn and use.
Introduction to Visual Basic Editor
Sub
a set of commands to perform a
specific task is placed into a
procedure, which can be a Function
procedure or a Sub procedure (also
known as functions and
subroutines)
Range/Cells
Range (“A1”) tells VBA the
address of the cell that we want
to refer to.
Select is a method of the
range object and select
cells/range specified in the
range object. The cell
references need to be
enclosed in double quotes.
Range/Cells
MyNumber
variable name
As Integer
type of variable
as a whole number
MyNumber = 10
assigning values of 10
Variable Practice:
Making Decisions: