Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/excel/26.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
excel加载项api:如何知道区域或单元格是否合并?_Excel_Office Js_Office Addins - Fatal编程技术网

excel加载项api:如何知道区域或单元格是否合并?

excel加载项api:如何知道区域或单元格是否合并?,excel,office-js,office-addins,Excel,Office Js,Office Addins,查看ExcelApi的node\u modules\@types\office js\index.d.ts,我没有找到任何方法来知道某个范围或单元格是否合并,知道吗 非常感谢很抱歉,目前我们没有API(在VBA中,对应的API为Range.MergeCells)来检查合并单元格的状态。我建议您提交对该功能的in-UserVoice和upvote请求,我们将根据投票结果进行计划 谢谢你说得对,我没有马上看到(有“合并”和“取消合并”两种方法,但我不知道我们是否有办法判断某个东西是否合并了)。我已经

查看ExcelApi的
node\u modules\@types\office js\index.d.ts
,我没有找到任何方法来知道某个范围或单元格是否合并,知道吗


非常感谢

很抱歉,目前我们没有API(在VBA中,对应的API为Range.MergeCells)来检查合并单元格的状态。我建议您提交对该功能的in-UserVoice和upvote请求,我们将根据投票结果进行计划


谢谢

你说得对,我没有马上看到(有“合并”和“取消合并”两种方法,但我不知道我们是否有办法判断某个东西是否合并了)。我已经向团队发送了一封关于它的电子邮件。在VBA中,表示使用了
Mergecells
属性。不确定它是否能在您的情况下工作。不,js api中没有Mergecells