Openpyxl Sheets
import openpyxl wb = openpyxl.load_workbook('dimension_1.xlsx') #Getting list of all sheet available in workbook print(wb.get_sheet_names()) # Returning object active_sheet = wb.active print(type(active_sheet)) # Title of sheet sheet = wb.get_sheet_by_name("Monday") print(sheet.title)
['Sheet', 'HTML', 'CSS', 'PHP', 'PYTHON'] <class 'openpyxl.worksheet.worksheet.Worksheet'> HTML