728x90
반응형

엑셀 파일을 저장 시, 테이블 (표)가 포함되어 있는 경우, 저장 시 이와 같은 메세지가 뜨며 저장이 안된다 

We found a problem with some content in 'new_test.xlsx'. Do you want us to try to recover as much as we can? If you trust the source of this workbook, click Yes.

 

 

 

문제는 테이블 저장 시 `displayName` 에 있었다. 
아래와 같은 형식으로 displayName의 표이름을 저장해주면 위와 같은 에러는 발생하지 않는다. 

 

tab = Table(displayName="Tb", ref=tb_size)
또는
 
tab = Table(displayName="Tbl_1", ref=tb_size)

 

 

참고 : https://stackoverflow.com/questions/62300178/openpyxl-created-excel-file-with-table-causes-file-that-requires-recovery-error

반응형
 
 
 
반응형

+ Recent posts