小编J T*_*J T的帖子

如何冻结 XLWings 中的窗格

我喜欢检查如何冻结 XLWings 中的窗格。

希望熟悉 XLWings 的人能够提供帮助。

我已尝试以下操作,但出现错误: pywintypes.com_error: (-2147352567, '发生异常。', (0, None, None, None, 0, -2147352565), None)

app1 = xw.apps
wb = app1.active.books.active
wb.api.Windows(6).FreezePanes = True 
Run Code Online (Sandbox Code Playgroud)

而且我无法在网上找到其他代码。

python xlwings

4
推荐指数
1
解决办法
2195
查看次数

标签 统计

python ×1

xlwings ×1