Article ID: 304494 - View products that this article applies to.
This article was previously published under Q304494
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:
(http://support.microsoft.com/kb/163435/ )Programming resources for Visual Basic for Applications
(http://support.microsoft.com/kb/141762/ )How to use Looping Structures in Visual Basic for Applications
(http://support.microsoft.com/kb/149689/ )Visual Basic Macro examples for working with arrays
(http://support.microsoft.com/kb/212536/ )How to run sample code from Knowledge Base articles
(http://support.microsoft.com/kb/146864/ )Error Trapping with Visual Basic for Applications
(http://support.microsoft.com/kb/118468/EN-US/ )Definition of DoEvents in Visual Basic for Applications
(http://support.microsoft.com/kb/226118/ )Programming resources for Visual Basic for Applications
(http://support.microsoft.com/kb/184256/ )How to display "Now Processing" while a macro runs
(http://support.microsoft.com/kb/165517/ )Overview of Visual Basic Editor debugging tools
(http://support.microsoft.com/kb/164058/ )Passing procedure arguments in Visual Basic for Applications