Sie sind auf Seite 1von 17

LE

P 0
I M 01
S 2
A L
T E CE
E A EX
CR M S
TO IN T O
M

W RO
N N .C
O A
IL
O R T
IB IS
H AC
A
L S M
S G
A
IN @
M
M
A
R
V
T
U
A
L
O
N
7
4

IR R
V IB
L
M
For Illustration purposes, we will use 2
worksheets…
This is sheet 1…
This is sheet 2…
The Task:

1.Compute the grade in column E.

2.Automatically indicate whether PASS or


FAILED in column F.
Open Sheet1 & Click Developer Tab…
Click "Record Macro" icon
on the upper left corner...
The Record Macro Window will load..
Let’s name the macro "GetGrades"...
Let's assign "g" as the shortcut key &
click "OK"...
Use the IF function to compute for grade
in E2...
Use same function to determine "PASS"
or "FAILED" in F2...
Copy the formulas all the way to the last
record.
Click "Stop Recording" on the upper left
corner...
Go to Sheet2…
Press Ctrl+d to run the macro…
Column E & F is automatically populated
by using the shortcut key (Ctrl+d)

Das könnte Ihnen auch gefallen