Solved

How to create a new macro in excel 2003

Posted on 2013-02-03
2
333 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

My experience with Windows 10 over a one year period and suggestions for smooth operation
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
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 demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

739 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