title: export data from gams to excel
body: <p>I have a mathematical model and I want to run it 10 times automatically with different data sets which are generated randomly(when the first model stops, start another model automatically). for this purpose I have written the solve statement in a loop  . I want to see the result of these 10 models in different sheets of an excel file. how can I do it? is it possible to correct my code? </p>
  
  <p>set k/sheet1*sheet10/;</p>
  
  <p>loop(k,</p>
  
  <p>data generation....</p>
  
  <p>solve statement....</p>
  
  <p>execute_unload 'RESULT.gdx'</p>
  
  <p>execute 'gdxxrw.exe RESULT.gdx o=RESULT.xlsx var=x.l rng='k.t1:0'!a1' </p>
  
  <p>);</p>
  
  <p>I really appreciate your kind helps</p>