作者:乔山办公网日期:
返回目录:excel表格制作
这是因为你的工作薄是普通的excel工作薄文件。把有宏的文件另存为“启用宏的工作薄”,这样问题就解决了。
在退出是写上代码
ActiveWorkbook.Save True
Sub test()
With Application
.DisplayAlerts = True
.Quit
.DisplayAlerts = False
End With
End Sub
这是因为你的工作薄是普通的excel工作薄文件。把有宏的文件另存为“启用宏的工作薄”," />
Sub test()
With Application
.DisplayAlerts = True
.Quit
.DisplayAlerts = False
End With
End Sub