主题
IsInplace (属性)
如果指定工作簿正在适当位置上进行编辑,则该值为 True。如果该工作簿已在 ET 中打开,并准备进行编辑,则该值为 False。bool 类型,只读。
示例
python
#本示例表示工作簿是在适当位置上打开并正在编辑还是仅在 ET 中打开
def test():
if ThisWorkbook.IsInPlace:
print("Editing in place")
else:
print("Editing in ET")
python
#本示例演示IsInplace属性的数据类型
def test():
print("IsInplace属性的数据类型为:" + type(ActiveWorkbook.IsInplace))