Skip to content

Add new rows with the same style and formatting as the second row #1189

Open
@ah28x

Description

@ah28x

I have a table in a word template with the first row being column names.Each row has 3 cells.
The second row has some text on what data I need to write from python.

If I specify lets say in the second row first cell color is red and font is Arial black , second cell has aligment to the left.
Is there a way to save this second row style and formatting so for each N number of rows I add when I write the dataframe from python the text has that formatting the same as defined in the second row.And also when I write the data from python is there a way to save first the styles and formatting and then overwritte that row when I write the new template with the data ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions