sn152
Member
Hi All,
I have a macro which will open a workbook according to the path mentioned in sheet1 range C5.
But when the file name specified in the sheet 1 range C5 is not available in the path mentioned in sheet1, it is giving an error.
Can we fix this by stopping the macro, if the file name specified in the sheet 1 is not available in the path and close the macro file.
Please help me with this. Attached the file for your reference.
Thanks in advance!
I have a macro which will open a workbook according to the path mentioned in sheet1 range C5.
But when the file name specified in the sheet 1 range C5 is not available in the path mentioned in sheet1, it is giving an error.
Can we fix this by stopping the macro, if the file name specified in the sheet 1 is not available in the path and close the macro file.
Please help me with this. Attached the file for your reference.
Thanks in advance!