Learn Microsoft Excel Training from the Best Tutors
Search in
Asked by Shashi Ranjan Last Modified
Vijayakumar A
MS Office, Basic Excel, Advanced Excel Training & Report Analyst, Google Sheets, Computer Faculty
Follow these simple steps to write a macro in Excel VBA.
1. 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.
Then save your excel file as "Excel Macro-Enabled Workbook" type.
read lessRelated Questions
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...
Read full article >
8 Hottest IT Careers of 2014!
Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...
Read full article >
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...
Read full article >
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...
Read full article >
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