John, you've been unusually patient with me and I want you to know I appreciated it. I guess my biggest problem in a nutshell is I don't know how to write the java script. I never had to deal with the technical end of a design, just how it looks in the end. I flunked Algebra and had to take geometry 3X, my brain isn't oriented the way yours is and I just stay away from technical stuff. My job, till now, has always been to make my client's brochures, etc. look graphically pleasing.
I was looking for something I could just put in the ID scripts file, have it work and be done with it. At the most, only put in the style names I was using. Then, when my customer updated their Excel file next year with price increases, I would just re-link the Excel file without losing my formatting in ID, or, just highlight it, run the script, and it would be right.
Thanks for working with me thus far and hope you won't walk away but if you decide to, I understand.
Marcia
It would appear that the script I posted for you in the first reply meets your needs. Of course you will have to change "Cell Style 3" to whatever style name you have chosen. Put it in your scripts folder and change the cell style name.
It's not helpful to proclaim a general lack of understanding. It's both unpleasant to read and also difficult to believe. Please spare us the drama, it just makes it difficult to help you.
I point you, once again, to the explanation of the script I gave you in the first reply:
...this loops over all the cells in the selection [a column], and applies a cell style (Cell Style 3) for each one that is odd-numbered (where the first cell is zero and thus even).
I think that is clear enough. Is the phrase "loops over" what is troubling you? Substitute any verb you like. "Goes over," "looks at," "examines," "touches," "iterates upon," or barring that, "does stuff."
If you didn't read the sentence the first two times, please read it this time. If that's not the problem, please be explicit about what is.