| 【2】VBA運(yùn)行中報錯信息設(shè)置error,err 3)如何在新的工作簿里直接調(diào)用另一個工作簿的SUB程序 http://club./thread-1057861-1-1.html BBS:Sub Macro1() ? ? Dim wb As Workbook ? ? On Error Resume Next ? ? Set wb = Workbooks(ThisWorkbook.Path & "\b.xls") ? ? If wb Is Nothing Then Set wb = Workbooks.Open(ThisWorkbook.Path & "\b.xls") ? ? On Error GoTo 0 ? ? Application.Run "'b.xls'!模塊1.宏1" End Sub 2)If Not c Is Nothing Then 是什么意思? http://club./thread-78483-1-1.html find語句中如沒有找到指定字符,就直接結(jié)束、跳出if-endif語句。如找到指定字符,仍循序執(zhí)行if-endif內(nèi)的各語句。 1)宏運(yùn)行過程中,即使出錯,也不出現(xiàn)報錯提示信息,繼續(xù)執(zhí)行一條語句。 On Error Resume Next 1.1)/https://wenda.so.com/q/1384538366064828 在需要取消的地方,放下面這句就可以了: On Error GoTo 0 GoTo 0 就表示從這里開始取消錯誤捕捉,并不需要存在 0: 的標(biāo)志。 1.2)vba怎么讓find沒有返回值的時候查找下一個目標(biāo)/3# http://club./thread-1343263-1-1.html if not rng is nothing then 3)err用法/https://blog.csdn.net/erix1991/article/details/16116165 4)On Error略解 https://blog.csdn.net/kajweb/article/details/50659691 【】 | 
|  |