vb.net - On Error go to the next desired operation instead of next line -
how can make code
for each wb in wbc if instr(wb.builtindocumentproperties("keywords").value(), "myapplicationset") = 0 on error resume next end if call overtimesave(wb) next so when current workbook not part of system - skips 1 workbook (without saving it) , iterates next workbook? code correct, because not sure on error resume next work here, read, go next statement, means call save function on particular workbook, not part of system.
i want like: if there's error - nothing , iterate next workbook.
it might better change if-condition add every workbook that's part of system
for each wb in wbc if instr(wb.builtindocumentproperties("keywords").value(), "myapplicationset") <> 0 call overtimesave(wb) end if next
Comments
Post a Comment