excel - 删除Excel表格中的行的问题

标签 excel office365 excel-addins

我正在使用新的 Excel Office Web 插件并以编程方式操作 Excel 表格。

有一些奇怪的情况,根据表位置,无法删除表的行。

例如,如下图所示,当删除第一个表格中的行时,错误是“这不起作用,因为它会移动工作表上表格中的单元格。”

Error when removing the row in the first table

在下面的情况下没有任何错误,我不确定第一个用例出了什么问题。 The case where there is no any error when removing rows

还有这个

Other case where there is no any error when removing rows

最佳答案

这是因为在第一种情况下,删除其中一行将移动第二个表的部分行(前两列将向上移动一行)。在其他情况下,从第一个表中删除行只会向上移动空单元格,不会影响其他表。

关于excel - 删除Excel表格中的行的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49511493/

相关文章:

visual-studio-2010 - Excel 插件单击一次部署问题

python - 使用 python pyodbc 和 pandas 数据框将数据从 SQL Server 导出到 Excel

azure - 在 Office 365 中更改域名如何影响 Azure Active Directory 连接计算机的用户身份验证?

c# - 通过 Exchange Online (Office 365) 使用 System.Net.Mail 发送 SMTP 电子邮件

ms-access - 使用 Office 365 帐户的 Azure SQL 身份验证

c# - 仅为 Excel VSTO 注册快捷键

r - 对齐数值精度 Excel 2013 和 R

vba - Excel 从按钮问题运行宏

mysql - 如何在VBA中获取 “yyyy/MM/dd hh:mm:ss.fff"”格式的时间戳?

office365 - 加载项命令功能区在 Excel Online 中显示,但在 Excel for Windows 中不显示