How can I make this code
For Each wb In wbC
If InStr(wb.BuiltinDocumentProperties("keywords").value(), "MyApplicationSet") = 0 Then
On Error Resume Next
so when the current workbook is not part of the system - it skips that one workbook (without saving it) and iterates to the next workbook?
Is that code correct, because I am not sure the `On Error Resume Next` will do the work here, as I read, it will just go to the next statement, which means it will call the save function on the particular workbook, which is not part of my system.
I want it like: if there's error - do nothing and iterate to the next workbook.
以上就是On Error go to the next desired operation instead of next line的详细内容，更多请关注web前端其它相关文章！