Hi,
I would like to highlight rows (on selected cells) like a Zebra, so that every other row will get a different background color.
I need a macro solution.
Please see sample attached...
Any idea how to do this?
Hi,
I would like to highlight rows (on selected cells) like a Zebra, so that every other row will get a different background color.
I need a macro solution.
Please see sample attached...
Any idea how to do this?
No need for a macro - use conditional formatting with a formula like this:
=MOD(ROW(),2)=1
for one colour and the other colour set as a standard fill.
Hope this helps.
Pete
Do you want any 2 colors or the 2 in the file?
If I have helped, Don't forget to add to my reputation (click on the star below the post)
Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
Use code tags when posting your VBA code: [code] Your code here [/code]
@sami770
I see that you have Excel 2003 in your profile, yet you posted an .xlsx file. Please update your profile if you have a later version of Excel.
Pete
If you are satisfied with the solution(s) provided, please mark your thread as Solved.
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks