Hello, i have the following small macro in my excel running fine with on Win10:
(its simply a button in the xlsm and when pressed the exe-file gets executed)
Sub calcConstr()
Dim FN As String
FN = Application.ThisWorkbook.Path
FN = FN + "\constrCalc3.exe"
Shell FN, vbNormalFocus
End Sub
But when i run the same xlsm and press the button i get this error:
2022-03-10 21_13_08-Microsoft Visual Basic.png
They only difference between the computers that on the one is running win11 and on the other win10
(excel is with 365 on both the same)
What can be the reason that this is not anymore working on the win11-pc?
Bookmarks