L
Legacy 287389
Guest
Hi good people!,
I use this code to open a workbook in another instance:
Now, when I close the child workbook, I would like the parent workbook to close as well. I have tried this, but it does not work:
Please someone help me out here?...thanx a lot!
I use this code to open a workbook in another instance:
Code:
Dim appXL As New Excel.Application
appXL.Workbooks.Open "G:\All Users\Jurie\Test\Hotel Maintenance V1SE.xlsm", IgnoreReadOnlyRecommended:=True
Now, when I close the child workbook, I would like the parent workbook to close as well. I have tried this, but it does not work:
Code:
Workbooks.Close "G:\All Users\Jurie\Test\Hotel Maintenance V1SE.xlsm"
Wrong number of arguments or invalid property assignment
Please someone help me out here?...thanx a lot!
Last edited by a moderator: