Select the product you need help with
Visual Basic and the Excel Version 4.0 Macro LanguageArticle ID: 109976 - View products that this article applies to. This article was previously published under Q109976 On This PageSUMMARY
In Microsoft Excel, there are two macro programming languages: Microsoft
Visual Basic for Applications and the Microsoft Excel version 4.0 macro
language. Microsoft included both languages to ease the transition to
Visual Basic. Although both languages give you complete control of
Microsoft Excel, you should use the Visual Basic language because it is
more flexible and more powerful than the Microsoft Excel version 4.0 macro
language. In addition, Visual Basic may be the only programming language
offered in future versions of Microsoft Excel.
MORE INFORMATION
In Microsoft Excel versions 5.0, 7.0, and 97, you can still run your
existing Microsoft Excel 4.0 macros. You can also combine Visual Basic and
Microsoft Excel version 4.0 macros; you can run your existing version 4.0
macros from Visual Basic procedures and you can run Visual Basic procedures
from your version 4.0 macros. In Excel 5.0 and 7.0, you also have the
option to record your macros in either macro language. In Microsoft Excel
97, however, you only have the option to record in Visual Basic.
Future versions of Microsoft Excel will still support running your Microsoft Excel version 4.0 macros, but will not include enhanced Microsoft Excel version 4.0 macro language commands for new features. The following is a list of resources you can use to learn the Visual Basic for Applications programming language. Online HelpOnline Help is provided in Microsoft Excel versions 5.0 and 7.0 for all Visual Basic and Microsoft Excel version 4.0 macro commands to help make the transition easy. In Microsoft Excel 97, this help was removed but is still available via the Internet. For information on how to obtain the Help file, please see the following article in the Microsoft Knowledge Base:128185
Microsoft Excel Version 5.0:
(http://support.microsoft.com/kb/128185/EN-US/
)
XL: Macrofun.exe File Available on Online Service
Reference Materials"Microsoft Excel Visual Basic for Applications Reference" Microsoft Corporation ISBN: 1-55615-624-3"Microsoft Excel Visual Basic for Applications Step by Step" Reed Jacobson ISBN: 1-55615-589-1 "Developing Microsoft Excel 5 Solutions" Eric Wells Microsoft Press 675 pages ISBN: 1-55615-684-7 "Developing Microsoft Excel 95 Solutions with Visual Basic for Applications" Eric Wells Microsoft Press 821 pages ISBN: 1-55615-893-9 Microsoft Press books can be found in bookstores everywhere, or you can order direct by calling (800) MSPRESS. In Canada, call (416) 293-8464, extension 340. If you are outside the United States, contact the Microsoft subsidiary for your area. To locate your subsidiary, see the Microsoft World Wide Offices Web site at: http://www.microsoft.com/worldwide/
Excel 5 Courseware Developer's Kit (CDK)
(http://www.microsoft.com/worldwide/)
Microsoft Corporation (Win) ISBN 1-55615-719-3 (Mac) ISBN 1-55615-718-5 Includes license agreement (grants permission to customize the student book, the student practice files, and the instructor outline files for reproduction), eight disks (student practice files and student book on disk), Instructor's guide, certificate of completion master copy, hardcopy overhead and handout masters, and a template for creating your own lessons. Microsoft Excel 5 Software Development Kit ISBN 1-55615-632-4 PropertiesArticle ID: 109976 - Last Review: October 10, 2006 - Revision: 1.6 APPLIES TO
| Article Translations
|



Back to the top








