How to Write Excel
Macros
Content
• What is macro?
• What is VBA?
• How to start?
• How to record Macro?
• How to edit Macro?
• How to write your first Macro?
What is Macro?
Basically, a macro is a way to automate a task
that you perform repeatedly or on a regular
basis.
In context of Excel, a macro is a program
written in Excel itself to automate a task that
is repetitive in nature.
Example
Suppose, you have to select cells on a sheet
where value is greater than 10 and change its
font color to Red and its Background color to
Black .
How will you do this?
Manual Approach
If total cells are less than 50
How would you do it Manually
Screencast
Problem
What if Thousand Cells ?
P
U
Z
Z
L
E
D
?
Solution
Macro
MACRO
IN
ACTION
Screen Cast
• Screencast to show Macro

Excel macro