I migrated an application from 8.0 to 2019 R3. I found a windows script command that is supposed to open an Excel file but it is not working. Does this need a syntax fix or is there a better way to open the file? The following is the code:
wsh = CREATE OleObject
result = wsh.ConnectToNewObject( "WScript.Shell" )
result = wsh.Run("C:\filepath\report.xlsx" , 3, 0)
Thanks to everyone for their input.