I have the code below. I've called the excel document from a VBA code. However, after pressing the closing button on the workbook, it doesn't close until I stop the macro. I want to be able to close the document without stopping the macro. i.e. the main userform is still running behind. I can close the excel workbook from the close button top right of the workbook itself.
Anyone happen to know how to solve this?
Private Sub CommandButton7_Click()
Workbooks("master system.xlsm").Activate
Workbooks.Open ActiveWorkbook.Path & "\Toolbox\Define\PPST.xlsx"
End Sub