I have created two EXE files from Excel files.
In one file I have a vba code and with a command button I want to open the second exe file.
In order to get this I use the following code:
Dim strProgramName As String
strProgramName = ThisWorkbook.Path & "\voorbeeldexe.exe" Call Shell(strProgramName, vbNormalFocus) ThisWorkbook.Save Application.Quit
Problem is that the “This workbook.path” give me an error message. I think it’s because the exe is not a “workbook”… Any idea how can solve this problem?