Can an XLSM GUI workbook opens its own instance when another instance exists?
I've been researching this and found the link below here (at the forum) but I don't thinks this quite does what I hope I can do.
The issue I think is that the macro will open an instance, but I still need to give a path although the book I have sub located in opens from the workbook I want to open in a separate instance. Confusing I know. I can't hard code the path as some examples provide. The user could place this GUI workbook anywhere, so it needs to be able to open from any location and in its own instance if another instance exists.
I have messed with the following, but the same issue and it also close an existing instance, which can't happen.
Oh, BTW, when I decided this code was not what I wanted, I removed it, but the GUI workbook I added it to still continues to do the same thing though I removed the code.
Any comments welcome. Maybe it cannot be done.
https://www.mrexcel.com/forum/excel-questions/993780-force-macro-open-excel-file-new-instance.html
Thanks!
I've been researching this and found the link below here (at the forum) but I don't thinks this quite does what I hope I can do.
The issue I think is that the macro will open an instance, but I still need to give a path although the book I have sub located in opens from the workbook I want to open in a separate instance. Confusing I know. I can't hard code the path as some examples provide. The user could place this GUI workbook anywhere, so it needs to be able to open from any location and in its own instance if another instance exists.
I have messed with the following, but the same issue and it also close an existing instance, which can't happen.
Code:
Application.IgnoreRemoteRequests = True
Oh, BTW, when I decided this code was not what I wanted, I removed it, but the GUI workbook I added it to still continues to do the same thing though I removed the code.
Any comments welcome. Maybe it cannot be done.
https://www.mrexcel.com/forum/excel-questions/993780-force-macro-open-excel-file-new-instance.html
Thanks!
Last edited: