You are currently offline, waiting for your internet to reconnect

How to use Visual Basic for Applications in Excel

This article was previously published under Q304494
This article has been archived. It is offered "as is" and will no longer be updated.
You can create macros with Microsoft Visual Basic for Applications (VBA) to automate common actions in Microsoft Excel. This article points to resources that can help you learn more about using VBA for this purpose.
For additional information about Visual Basic for Applications, click the following article numbers to view the articles in the Microsoft Knowledge Base:
163435 Programming resources for Visual Basic for Applications
141762 How to use Looping Structures in Visual Basic for Applications
149689 Visual Basic Macro examples for working with arrays
212536 How to run sample code from Knowledge Base articles
146864 Error Trapping with Visual Basic for Applications
118468 Definition of DoEvents in Visual Basic for Applications
226118 Programming resources for Visual Basic for Applications
184256 How to display "Now Processing" while a macro runs
165517 Overview of Visual Basic Editor debugging tools
164058 Passing procedure arguments in Visual Basic for Applications
XL2000 inf XL2002

Article ID: 304494 - Last Review: 12/06/2015 04:24:47 - Revision: 4.3

Microsoft Excel 2000 Standard Edition, Microsoft Excel 2002 Standard Edition, Microsoft Excel 97 Standard Edition

  • kbnosurvey kbarchive kbvba kbinfo kbautomation kbmacro kbhowto KB304494