Hello group,
I would like export from GAMS to EXCEL but with open Excel (no close).
Does anybody knows how it’s done?
But this code can not be written if Excel is open.
The first part (creating a gdx file) works. I also receive no error message when loading the gdx file in GAMS. But the parameters are not displayed. Where the parameters should be displayed, the programm says instead:
23 PARAMETER d distance in km
( ALL 0.000 )
Can anyone tell me what is wrong?
I am quite sure that the code is correct. Do I have to modify any settings in the programm?
Problem is you start to read in A2 while you have good labels already in row 1, so just change the range to rng=Tabelle1!A1, not A2 and everything will be fine.
Oh I am sorry, I forgot to adjust the table before sending it to you. I already changed A2 to A1 in my program.
I just tried to solve my problem on a different computer and it worked after I changed trace=3 to trace=4.
I guess it is a problem with our server.
But still thank you very much for your help.
Hello group.
I can print date and hour of GAMS execution in TXT. But I need print date and hour of GAMS execution in excel.
Does anyone know a syntax to print date and hour ejecution in excel?
Best regards
GAMS and Excel (and many other program work with the Julian date or serial date, a single number represents date and time). Just write this number to Excel and format as date: