Excel.SaveBehavior enum

指定工作簿的保存行为。保存 API。Specifies the save behavior for Workbook.save API.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

字段

prompt = "Prompt"

如果工作簿尚未保存, 则提示用户 "saveas" 体验, 如果工作簿以前保存过, 则忽略该操作。Prompts the saveas experience to the user if the workbook has not been saved, Ignored if the workbook was previously saved.

save = "Save"

保存工作簿, 而不提示用户。Save the workbook without prompting the user. 如果文件未保存, 它将使用默认位置下的默认名称保存它。If file is not saved, it will save it with default name under default location.