Related:
- Excel Conditional Cell Formatting
- Excel date format dd.mm.yyyy - Guide
- Marksheet format in excel - Guide
- Clear only the formatting from the selected cell (leaving the content) - Guide
- Number to words in excel - Guide
- Excel free download - Download - Spreadsheets
1 response
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
Oct 11, 2009 at 11:25 PM
Oct 11, 2009 at 11:25 PM
the cdoe will be something like this (modify to suit you)
Sub test() Dim r As Range, c As Range Set r = Range("c1:c65") For Each c In r If c Mod 5 = 0 Then c.EntireRow.Interior.ColorIndex = 3 Next c End Sub
Oct 12, 2009 at 08:30 AM
Thanks...
Oct 23, 2009 at 05:10 AM
Access VBA by using ALT+F11 while in Excel.