• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

cells color

malek

New Member
helllo everyone,

In this file I want to alternate teh color of cells (white then blue...) and if the next cell has the same name as the one befor then I want them to have the same color. To make my self clear I put an exemple in the file (I did it manually), so now I want a VBA code to do that (I think it's more usefull when there is a larger amount of data).

Then for the same groupe of name I want to insert a ligne juste below.

I know I am demanding too much and it's maybe a little hard but I know also that there is masters of VBA in this Forum.

thank you ! :)
 

Attachments

  • Brouillon_data.xlsx
    9.8 KB · Views: 4
Yes I didn't insert a line below each same groupe it's true but I want to add that if it's possible. I don't know if I answer your question.
 
If a line is inserted between each group so the color is not necessary anymore …​
 
But the question is why inserting a blank row - as Excel does not like non contiguous data - so what's for, what's next ?​
 
Back
Top