How to save the datatable with UFT API Testing

Hello,

I can use input values from an excel file with the datable but I would like to save the excel file with new values in it and the OK, KO results.

Do I have to create an GUI Test in  my API test to add VB code ? 

I hope there is something easier.

Regards