Hi,
So i have a macro that imports one sheet from several workbooks.
Sometimes I write the directory path incorrectly to the file and a debug/error popup appears and halts the process. At this point I correct the path and run the macro again.
Is there a way i can add some code that:
If workbook path is not found then
paste bad link in cells (blah blah)
I found the iferror function, but i don't see how it would apply in this scenario.
Does anyone have any suggestions on this?
Thanks in advance,
Tom
So i have a macro that imports one sheet from several workbooks.
Sometimes I write the directory path incorrectly to the file and a debug/error popup appears and halts the process. At this point I correct the path and run the macro again.
Is there a way i can add some code that:
If workbook path is not found then
paste bad link in cells (blah blah)
I found the iferror function, but i don't see how it would apply in this scenario.
Does anyone have any suggestions on this?
Thanks in advance,
Tom