I know that there is a way to change the color of one individual cell in a table by naming that cell from that table and then coloring that cell; however I'm looking for a way to change the color of all cells in one table at the same time.
The table is 7x3 and I already asked a question about changing the font size for all cells in the table so I figure the way to change the color of all of the cells is similar to this.
def iter_cells(urbanicity_table):
for row in urbanicity_table.rows:
for cell in row.cells:
yield cell
for cell in iter_cells(urbanicity_table):
for paragraph in cell.text_frame.paragraphs:
for run in paragraph.runs:
run.font.size = Pt(6)
for cell in iter_cells(urbanicity_table):
for paragraph in cell.text_frame.paragraphs:
paragraph.font.size = Pt(6)
The table comes pre-colored with a default color scheme of the template PowerPoint used for this slideshow. Please help, thanks!