Hey everyone,
This has been bustin my balls all day.
I have a workbook which when opened, also opens another workbook which has visible = false set.
When i exit the main workbook, the other workbook does not close. I have tried multiple things to get it to close without luck.
I need a workbook close event which gets the file path and file name from;
Sheet: Ranges
File Path:I387
File name: L387
And then tells it to close even when it is hidden.
The file that opens hidden, will vary and the data held in "Ranges" confirms the file which is open.
Does anyone know how i could do this on a workbook close event? Or is there another way?
I tried quit application, which didn't work. I did try Application.Run with the location of the macro on the hidden workbook, but this had problems also.
This has been bustin my balls all day.
I have a workbook which when opened, also opens another workbook which has visible = false set.
When i exit the main workbook, the other workbook does not close. I have tried multiple things to get it to close without luck.
I need a workbook close event which gets the file path and file name from;
Sheet: Ranges
File Path:I387
File name: L387
And then tells it to close even when it is hidden.
The file that opens hidden, will vary and the data held in "Ranges" confirms the file which is open.
Does anyone know how i could do this on a workbook close event? Or is there another way?
I tried quit application, which didn't work. I did try Application.Run with the location of the macro on the hidden workbook, but this had problems also.