e learning excel vba programming lesson 5

7
Excel VBA – 5 th Session

Upload: ameetz-academy

Post on 28-Nov-2014

1.323 views

Category:

Education


2 download

DESCRIPTION

Recording First Macro ..!

TRANSCRIPT

Page 1: E learning excel vba programming  lesson 5

Exc

el V

BA

– 5

th S

ess

ion

Page 2: E learning excel vba programming  lesson 5

First Step

First Step to Record a Macro : Before recording a macro in 2007 make sure the

Below shown Menu ribbon is appearing in Excel

This Menu , helps us to do the Macro Activity easily. To get the same please follow the procedure mentioned in the next slide

Page 3: E learning excel vba programming  lesson 5

Developer Tab Options

1

2

3

Click on Microsoft Office Button as shown 1. Then Click on Excel Options as shown in 2Select Customise as shown for 3.

Page 4: E learning excel vba programming  lesson 5

Developer Tab Options

Once you open the developer Tab Options as right side picture, you can select all macro related menu buttons and press OK, to find below menu bar

Page 5: E learning excel vba programming  lesson 5

Recording a Macro

Now you are ready to record your first Macro.1

2

Click on Record Macro Button as shown in 1, and you get the Popup as shown in 2. You can write the Macro Name there. Macro should start with Alphabet and it can contain numeric , but should not contain Special Characters and Space.

You can have a short cut key, but make sure , it will not contradict with existing shortcut keys of Excel.

You can write a brief Description of Macro for your future reference

Page 6: E learning excel vba programming  lesson 5

While Recording Macro

Page 7: E learning excel vba programming  lesson 5

More to come…!

Hope you understood, how a macro is recorded.In the Next Class we will discuss , how to edit macro and change macro ( edition VBA Code)

Thank You