i created this code but its not running how can i fix it please:
i have a button in a vba excel and want to run the cplex code when it is pressed i dont think i have access on the oplrun.exe as i am on a university laptop

i have extra code but this is not running, i keep getting the messages box but cplex doesnt run
MsgBox "External call to OPL is starting."
Dim oplRunPath As String
oplRunPath = "C:\Program Files\IBM\ILOG\CPLEX_Studio1210\opl\bin\x64_win64\oplrun.exe"
Dim modelFilePath As String
modelFilePath = "C:\Users\s_samah\Desktop\capstone with vba\Full Time Student\FullTime.mod"
Dim dataFilePath As String
dataFilePath = "C:\Users\s_samah\Desktop\capstone with vba\Full Time Student\FullTime.dat"
Dim shellCommand As String
shellCommand = oplRunPath & " " & modelFilePath & " " & dataFilePath
Shell shellCommand
MsgBox "OPL model execution has been initiated."
------------------------------
sebastian samaha
------------------------------
Original Message:
Sent: Thu December 02, 2021 04:43 AM
From: ALEX FLEISCHER
Subject: Running CPLEX using excel vba
Hi
the example How to call OPL from Excel ? in Excel and OPL works fine
regards
------------------------------
[Alex] [Fleischer]
[EMEA CPLEX Optimization Technical Sales]
[IBM]
------------------------------