UrbanPro

Learn Microsoft Excel Training from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

How do I save macros in Excel permanently?

Asked by Last Modified  

Follow 1
Answer

Please enter your answer

In Microsoft Excel, you can save macros in your workbook permanently by storing them in the workbook itself. Here are the general steps to save macros in Excel: Save a Macro in Excel: Open Excel: Launch Microsoft Excel on your computer. Open or Create a Workbook: Open an existing workbook where...
read more

In Microsoft Excel, you can save macros in your workbook permanently by storing them in the workbook itself. Here are the general steps to save macros in Excel:

Save a Macro in Excel:

  1. Open Excel:

    • Launch Microsoft Excel on your computer.
  2. Open or Create a Workbook:

    • Open an existing workbook where you want to save the macro, or create a new workbook.
  3. Enable the Developer Tab:

    • If the Developer tab is not already enabled, go to "File" > "Options" > "Customize Ribbon." Check the box for "Developer" in the right column and click "OK."
  4. Record a Macro:

    • Click on the "Developer" tab in the ribbon.
    • Click on "Record Macro" to start recording your macro.
    • Provide a name for your macro, choose where to store it (in "This Workbook" is a common choice), and click "OK."
    • Perform the actions you want to record in your macro.
    • Click on "Stop Recording" when you're done.
  5. View and Edit the Macro:

    • To view or edit your macro, click on "Developer" > "Macros." Select your macro and click "Edit." This opens the Visual Basic for Applications (VBA) editor.
  6. Save the Workbook:

    • After recording and editing your macro, save the workbook. The macro is now saved as part of the workbook.

Note:

  • Macros are typically saved with the workbook, so if you share the workbook, the macros will be available to others who open it.
  • If you want to save a macro to use in other workbooks, you can create a personal macro workbook (a hidden workbook named "Personal.xlsb") and store your macros there. This way, the macros will be available whenever you open Excel.

Save a Macro to the Personal Macro Workbook:

  1. Record or Open a Macro:

    • Record a new macro or open an existing one.
  2. Choose Personal Macro Workbook:

    • When saving the macro, choose "Personal Macro Workbook" as the location.
  3. Save and Close Excel:

    • Save your changes and close Excel. The personal macro workbook is automatically opened when Excel starts.
  4. Use Macros in Other Workbooks:

    • Now, when you open Excel, the personal macro workbook is loaded, and you can use your macros in any new workbook.

Remember, if you share workbooks containing macros with others, they may need to enable macros and trust the source to run them successfully.

 
read less
Comments

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...
Venkat
0 0
5

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.

As you are a Team Leader, Learning VBA is not going to help you. You just need Basic Excel Knowledge to manage your team. VBA is for programmers who need to develop softwares. Learning VBA is like -...
Francis
0 0
5
Which course can be related to MIS executives, Since I have past experience in data base related job I want to try for MIS profile. So kindly suggest me which course suits me for the same profile.
Hi, You can check our course - Analyse and Visualize with Excel. Excel is the most popular tools used by analyst and MIS manager for getting insights from data. Create powerful Dashboards to enable data driven decision making.
Martin

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

Ask a Question

Related Lessons

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

Range Selections
G

Gagan G.

0 0
0

What is M.S.Project ?
MICROSOFT PROJECT contains project work and project groups, schedules and finances.Microsoft Project permits its users to line realistic goals for project groups and customers by making schedules, distributing...


What is save workspace?
Its an option in excel that help you to save a shortcut in particular place (may be your desktop). When you double click to open this shortcut it opens all the related excel files together from different...

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 >

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 >

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 >

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
X

Looking for Microsoft Excel Training Classes?

The best tutors for Microsoft Excel Training Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Microsoft Excel Training with the Best Tutors

The best Tutors for Microsoft Excel Training Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more