Hi,can anyone help?
I have a macro that calls a sub and then copies the data to workbook2.
If workbook2 is not open I want to skip a certain part of the code so it doesn't error because workbook2 is closed.
does anyone know of a line of code I can add within the macro to skip a certain part and continue the macro until end sub
Any help would be appreciated
Regards
pwill
I have a macro that calls a sub and then copies the data to workbook2.
If workbook2 is not open I want to skip a certain part of the code so it doesn't error because workbook2 is closed.
does anyone know of a line of code I can add within the macro to skip a certain part and continue the macro until end sub
Any help would be appreciated
Regards
pwill
Last edited: