先開B 再開A1 沒詢問 ?
A1下面兩段拿掉也一樣沒詢問?
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.AskToUpdateLinks = False
End Sub
Private Sub Workbook_WindowDeactivate(ByVal Wn As Window)
Application.AskToUpdateLinks = False
End Sub作者: t8899 時間: 2014-7-9 06:20
回復 t8899
A1.XLS
GBKEE 發表於 2014-6-28 11:14
我在B.xls auto_close 放這兩行就OK了,供參考
Sub Auto_Close()
Application.DisplayAlerts = True
Application.AskToUpdateLinks = True
End Sub作者: GBKEE 時間: 2014-7-9 13:55