当我运行一个宏时,它停止在' DoCmd.Quit acQuitSaveNone' 它说'退出现在不可用' 我需要做些什么才能纠正这个问题?
Public Function UnassignedPayments()
Dim XFile As String
NPDateB = Date
NPDateE = Date
DoCmd.SetWarnings False
XFile = "I:\Management Reports\Unassigned Payment Analysis Report.pdf"
DoCmd.OutputTo acOutputReport, "Unassigned Payment Analysis Report", acFormatPDF, XFile
DoCmd.Quit acQuitSaveNone
End Function
答案 0 :(得分:1)
使用var elemHolder = new ElementHodler(document.getElementById('elem'));
elemHolder.doSomethingToElement ()
,不应该导致此错误。