OpenPyXL - Coloring Excel Workbook Tabs with Python | Data Automation

preview_player
Показать описание
This video reviews how to use Python to color the tabs of an Excel workbook. I use Anaconda's Jupyter Lab interface.

😄 Please consider supporting this channel and making this content possible:

00:00 :: Intro
00:45 :: from openpyxl import Workbook
00:55 :: Saving Workbook
01:10 :: Creating Tabs/Sheets
01:40 :: Checking Sheet Names
01:55 :: Creating Worksheet Variables
02:19 :: Accessing the sheet_properties Attribute
02:58 :: Accessing the tabColor Attribute
03:30 :: Selecting Hex Color Values
04:20 :: Validating Colors in Excel
04:33 :: Overview

#pythonexceltutorial #openpyxl #DataAutomation #python #pythontutorial #excel #pythonautomation #pythonprogramming #data #jupyterlab
Рекомендации по теме
Комментарии
Автор

Hello, great video! Have you ever tried to protect a sheet? It loses its colors for some reason. And if you try to add color to the tab since it's protected you can't. Do you know by any chance a solution for this?

Tiranhox