Change a code made by windows to Mac OS

Hello everyone,
I have a problem with an GAMS-code which was created on a Microsoft system. The code needs an excel file with several sheets and I read about, that this is not easy to do it the same way on a Mac system. Is it possible to use a similar package on a MacBook or do I have to write a complete new code? If it is easy to adapt the code to Mac it would be the best solution for me otherwise I have to use another computer with a Windows system. The first attached link is the excel spreadsheet and the second one the word file with the code. You will also find it here: Economics of autonomous equipment for arable farms | Precision Agriculture there is the code published.
https://static-content.springer.com/esm/art%3A10.1007%2Fs11119-021-09822-x/MediaObjects/11119_2021_9822_MOESM2_ESM.xlsx
https://static-content.springer.com/esm/art%3A10.1007%2Fs11119-021-09822-x/MediaObjects/11119_2021_9822_MOESM1_ESM.docx

Thanks for your help

Jan

Hi,

The problematic lines are the ones starting with

$call GDXXRW ...

GDXXRW is a Windows only tool that reads data from Excel and writes it to GDX from where your code loads the data into GAMS. You could replace GDXXRW with GAMS Connect which is platform independent.

I hope this helps!