Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

openpyxl change sheet name

import openpyxl
ss=openpyxl.load_workbook("file.xlsx")
#printing the sheet names
ss_sheet = ss['Sheet']
ss_sheet.title = 'Fruit'
ss.save("file.xlsx")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #openpyxl #change #sheet
ADD COMMENT
Topic
Name
6+5 =