My problem main is when modify one sheet and save the book, all sheet save as text include sheet with pivot table.
This is my code:
import openpyxl
xfile = openpyxl.load_workbook('book1.xlsx')
sheet = xfile.get_sheet_by_name('my_data')
sheet['A2'] = 'hello world'
xfile.save('book2.xlsx') #all sheets of book save as text