Question : vba keep command window open
Answered by : bhudis-wittayanusit
Sub cmdWinOpen() Dim res Dim shell As Object Set shell = VBA.CreateObject("WScript.Shell") res = shell.Run("cmd /k " & "your command")
End Sub
Source : https://stackoverflow.com/questions/52536935/keep-shell-cmd-open-when-launching-r-script-from-vba | Last Update : Wed, 24 Nov 21