Article ID: 142528 - Last Review: January 19, 2007 - Revision: 3.3 XLMAC: Macro to Delete Every Other RowThis article was previously published under Q142528 SUMMARY
This article contains a sample Microsoft Visual Basic for Applications
macro (Sub procedure) that you can use to delete every other row of a
selection on a Microsoft Excel worksheet.
MORE INFORMATIONMicrosoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
To use the following macro, you will need to set up a Microsoft Excel file
as follows:
NOTE: When you have a list of data that contains multiple columns, select only the first column of data, and then run the macro. APPLIES TO
| Article Translations
|

Back to the top
