Excel 复制工作表分页符位置发生变化

使用了copy方法后发现excel分页符位置有变化,导致分页不正确

@isdpProject
请提供个能复现的问题的代码和文件。我们会尽快检查。
如果是不同文件中部分数据copy, 请先copy 全局样式
workbook.copyTheme(source);
workbook.se’tDefaultStyle(workbook.DefaultStyle);

添加workbook.copyTheme(source)方法后;样式已生效,感谢

@isdpProject

Glad to hear that your issue has been resolved by adding the workbook.copyTheme(source) method. Thank you for providing this feedback; it demonstrates the importance of global style synchronization for maintaining worksheet consistency.

If you encounter any other technical issues while using Aspose.Cells in the future, please feel free to open a new thread, and we will be happy to assist you.