Hello guys,
I have this problem exemplified in the picture bellow.
The problem is: when I close workbook A, the macro sub B stops running.
I tried this codes:
* last line executed
Can anyone help me, please?
Thanks in advance.
I have this problem exemplified in the picture bellow.
The problem is: when I close workbook A, the macro sub B stops running.
I tried this codes:
Code:
Sub A()
Workbooks("WorkbookB.xlsm").Close
(Call other subs)
End Sub
Code:
Sub B()
[B]Workbooks("[COLOR=#574123]WorkbookA[/COLOR].xlsm").Close*[/B]
(Call other subs)
Application.Run "WorkbookA.xlsm!A"
End Sub
* last line executed
Can anyone help me, please?
Thanks in advance.