How to write macros in excel?

Asked by Last Modified  

11 Answers

Follow 0
Answer

Please enter your answer

Oracle, Hindi, C++, C, MS Office, VBScript,JavaScript,Spoken English etc with 32 years of experience

1) you record a macro 2) macro programming:- macro is type of a sub procedure to perform some task. sub is a keyword. the set of program statements you have to write between the two lines syntax:- sub macroname statements ----------- end sub
Comments

BPO Project Manager

there are two ways to do it, record macros with the Macro Recorder and to create other macros of your own in the Visual Basic Editor.Use the "ALT/F11" key to go from Excel to the VBA.Go to the menu bar "View" and click "Project Explorer". click on and start coding. but explaining how to code is entirely...
read more
there are two ways to do it, record macros with the Macro Recorder and to create other macros of your own in the Visual Basic Editor.Use the "ALT/F11" key to go from Excel to the VBA.Go to the menu bar "View" and click "Project Explorer". click on and start coding. but explaining how to code is entirely different question. read less
Comments

Computer Expert

Using VBA we can write macros in excel. IT will take 2-3 weeks to learn the same for beginners
Comments

Software Professional Trainer with 26+ years of Experience in Software Design and Development

in excel press Alt + F11 or Right click in worksheet tab -> Click View Code. VBA Editior will open Write following test vba script to test Sub TestMessage() MsgBox "Test message from Excel VBA" End Sub Execute above macro by clicking F5 short key, or select TestMessage Macro and click...
read more
in excel press Alt + F11 or Right click in worksheet tab -> Click View Code. VBA Editior will open Write following test vba script to test Sub TestMessage() MsgBox "Test message from Excel VBA" End Sub Execute above macro by clicking F5 short key, or select TestMessage Macro and click Run button. It will display "Test message from Excel VBA" in the message window. Same way keep writing other script also. read less
Comments

C/C++/SQL/Datastructures/Database/Excel

you can record macros for some regular activities else you may write code in VBA programming, similar to Visual basic
Comments

Trainer

You need to learn the vba to write the script or you can record the system will write the macro for you and you can change that using your skill.
Comments

Tutor

using VBA language
Comments

Tutor

There are two ways - Using Excel macro editor and writing the programme yourself. Former has a lot of limitations and that is why people learn VBA so that they can write the macros by themselves. It is written in excel vba editor window which shows up if you press alt+f11 while on any spreadsheet. There...
read more
There are two ways - Using Excel macro editor and writing the programme yourself. Former has a lot of limitations and that is why people learn VBA so that they can write the macros by themselves. It is written in excel vba editor window which shows up if you press alt+f11 while on any spreadsheet. There are other ways as well to go to vba editor . if you want to learn the macros or vba please visit my website or go to my youtube channel. my website is www.excelvbalover.com and 200 free videos are there. Starting a weekend batch for vba this coming saturday as well. read less
Comments

Trainer

You can record macroa in excel..go to developer tab in ribbon and choose Record marco button there..for more info......go to klick2learn complete solution channel on youtube..
Comments

Finance & Accounts Expert

Hi Vidya, to start with building macros, you should gain knowledge on VBA first i.e. Visual Basic codes. Using this you can write an automated programs called Macros. It helps us to perform the repeated actions in excel just by a click on a macro button. There are various professionals on UrbanPro and...
read more
Hi Vidya, to start with building macros, you should gain knowledge on VBA first i.e. Visual Basic codes. Using this you can write an automated programs called Macros. It helps us to perform the repeated actions in excel just by a click on a macro button. There are various professionals on UrbanPro and even some institutes out in every place who can teach Macros. Reach out to them and have a happy learning. read less
Comments

View 9 more Answers

Related Questions

What is use of VBA? Can you explain it?
Hi Venkat, As per my opinion and experience, we are using VBA for reducing the repetitive task in excel. For example: Suppose every day you are preparing an attendance tracker in which you will mark present/absent...
Profile Photo
Venkat
0 0
View Comments5
What does the VLOOKUP in MS Excel function do?
Basically, VLOOKUP lets you search for specific information in your spreadsheet. For example, if you have a list of products with prices, you could search for the price of a specific item.
Profile Photo
Nayana
1 0
View Comments5
Excel formulas in advance level?
In excel we have lot of staff and formulas, we can learn based on your requirement, in excel vlookup, hlookup, pivot table if condition, sumif ifs, countA, if ifs, data validation, etc. and we have to...
Profile Photo
ManojGS
What are the best practices when modelling in Excel?
Best Practices for Modelling in Excel: Know your Tool which is excel in this case. Avoid Circular Referencing Have a Glossary for your model which states what means what Use same theme and formatting...
Profile Photo
Ajay
1 0
View Comments6

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

SQL (Structured Query Language)
SQL (Structured Query Language) is a standardized programming language used for managing relational databases and performing various operations on the data in them. Initially created in the 1970s, SQL...
Profile Photo


VBA Function - INSTR
INSTR works similar to FIND function in Excel. INSTR search for specific text in a given text and returns the position number of what you are searching for. Syntax: InStr( , string, searchingfor, ) Sub...
Profile Photo

Range Selections
G

Gagan G.

0 0
View Comments0

How to Insert a Pivot Table.
Let's learn how to Insert a Pivot Table.
Profile Photo

Recommended Articles

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 >

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,...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

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 >

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 you