Macro to shade every other row in a selection in Excel (213616)
The information in this article applies to:
- Microsoft Office Excel 2003
- Microsoft Excel 2002
- Microsoft Excel 2000
- Microsoft Excel 97 for Windows
- Microsoft Excel 2004 for Mac
- Microsoft Excel X for Mac
- Microsoft Excel 2001 for Mac
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q213616 SUMMARY
Microsoft Excel automatically formats new data that you type at the end of a list to match the preceding rows. You can also format a list using the AutoFormat command on the Format menu. Or, if you want, you can format a list programmatically. This article contains a sample Microsoft Visual Basic for Applications procedure to shade every other row
in a selection.REFERENCESFor more information about formatting lists, click Microsoft Excel Help on the Help menu, type Format lists quickly in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For additional information about how to obtain help with Visual Basic for Applications, click the following article number to view the article in the Microsoft Knowledge Base:
226118
List of resources that are available to help you learn Visual Basic for Applications programming
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB213616 |
---|
|