Skip to main content
Question

How to keep color on the first row of excel writer?


Forum|alt.badge.img

I am writing out to excel and need to have the top row have different colors. Is there a way to just color top row? When I assign a color in the writer it applies it to the whole column.

2 replies

oscard
Influencer
Forum|alt.badge.img+21
  • Influencer
  • June 26, 2020

When I want to do this, I create an empty Excel as a Template. That Excel would have the frist row with the attribute names and the style I want.

 

 

The Excel writer has a parameter to set a template. You also have to make sure that a row with the name of the attributes is not written (another parameter).

 


Forum|alt.badge.img
  • Author
  • June 26, 2020
oscard wrote:

When I want to do this, I create an empty Excel as a Template. That Excel would have the frist row with the attribute names and the style I want.

 

 

The Excel writer has a parameter to set a template. You also have to make sure that a row with the name of the attributes is not written (another parameter).

 

Thank you!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings