Solved

How to create a new macro in excel 2003

Posted on 2013-02-03
2
321 Views
Last Modified: 2013-02-03
an anyone tell me how to create a new macro ?

I can only see options to run and record.

I want to open a blank macro and paste into it
0
Comment
Question by:MichaelGlancy
2 Comments
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 500 total points
ID: 38849538
1) Hit Alt+F11 to get to the VBA Editor

2) Add a new module to your workbook's VBA project

3) Add a new procedure by typing "Sub MacroName" in the module, and hitting Enter

4) Add your code
0
 
LVL 16

Expert Comment

by:terencino
ID: 38849563
Or you can go Alt+F8 to bring up the Macro dialog, type in the name of the macro, select This Workbook (or whatever workbook you want the macro in) from the drop down, then hit Create button and it will do the rest that Patrick has listed above.
Macro dialog Alt F8You might want to open the Macro dialog again later and then select Options to add a keyboard shortcut and a description if you want. The Macro dialog is a convenient place to manage your macros from, if you're just starting out, you can also Edit & Step Into them. Macro Options
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
Outlook Free & Paid Tools
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question