Learn Microsoft Excel Training from the Best Tutors
Search in
Follow these simple steps to write a macro in Excel VBA.
1. Open Excel and press Alt + F11 to open the Visual Basic for Applications (VBA) editor
2. To do this, in the VBA editor go to `Insert` > `Module`, and enter a new module.
3. We Write VBA Code To Define The Macro In Module Window For example:
***vba
Sub MyMacro()
' Your VBA code here
End Sub
***
4. Now you are free to write your VBA code within the Sub. End Sub to the above block will carry out in Excel what you have demanded our Macros/RPA programs.
5. You can run the macro by hitting F5 in VBA editor or close the editor, and running it from Excel >> Developer Tab >> Macros>> select utsname & click Run.
6. Save your excel file type as "Excel Macro-Enabled Workbook"
read lessRelated Questions
Suppose our Customer requires following:
An Excel Software for POS, with following functionalities:
Can you make that?
How much time will it take to you to make it completely?
I have got over ten years in customer service. Currently working as a team leader in an MLM company. Will doing VBA course help me get a better package I am having CTC of 7 lakhs hoping to touch 8 to 9 lakhs CTC.
What is use of VBA? Can you explain it?
Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com
Ask a QuestionRecommended Articles
Why Should you Learn Microsoft Office
Microsoft Office is a very popular tool amongst students and C-Suite. Today, approximately 1.2 billion people across 140 countries use the office programme. It is used at home, schools and offices on a daily basis for organizing, handling and presenting data and information. Microsoft Office Suite offers programs that can...
Learn Microsoft Excel
Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...
Learn Hadoop and Big Data
Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system’s storage capacity and you can’t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...
Why Should you Become an IT Consultant
Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...
Looking for Microsoft Excel Training classes?
Learn from the Best Tutors on UrbanPro
Are you a Tutor or Training Institute?
Join UrbanPro Today to find students near youThe best tutors for Microsoft Excel Training Classes are on UrbanPro
The best Tutors for Microsoft Excel Training Classes are on UrbanPro