How to create Macros in Excel

 First, we will know what is macro?

So it's a program that automates repetitive tasks by recording and replaying a series of steps. 

Benefits of using macro

~Saves time

~ Easy to use

How to enable Marcos in excel..

Step 1 : Go to home

Step 2 : Customize the ribbon

Step 3 : Go to main tabs, Select developer.

How to record macro 

Step 1 : Go to developer ,then click on record macro

Step 2 : Type macro's name then select ok (there should not be spaces ).

Recording will start.. Stop the recording when the work is done..

When u click on visual and then go to module you will see the actual code which is running behind macro... 

You can edit that code as well. 

USE OF RELATIVE REFERENCE -

The macro will insert a row relative to the cell selected. 

Click the use relative reference button on the developer tab to toggle relative reference on and off.

For saving workbook containing macros, save it as 


EXCEL MACRO ENABLED WORKBOOK. 


💻



Comments

Popular posts from this blog

PYTHON - OOP(OBJECT ORIENTED PROGRAMMING) - PART 1

HOW TO USE SQL?