How to use conditional formatting to shade every other row in Excel (268568)
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 Q268568 SUMMARY
It is often easier to read lists of data if alternate rows are shaded. This article shows you how to use conditional formatting to shade alternate rows. Note Conditional formatting is automatically copied to newly added rows. You can also shade alternate rows by using a Visual Basic for Applications (VBA) macro. However, if you use the VBA macro, you must run the macro again every time that new rows of data are added.
For more information about how to use a macro to shade every other row in Excel, click the following article number to view the article in the Microsoft Knowledge Base:
213616
Macro to shade every other row in a selection in Excel
REFERENCES
For more information about conditional formatting, click Microsoft Excel Help on the Help menu, type change, add, or remove conditional formats in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.
For more information about the MOD worksheet function, click Microsoft Excel Help on the Help menu, type mod in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.
Modification Type: | Major | Last Reviewed: | 5/5/2005 |
---|
Keywords: | kbhowto KB268568 |
---|
|