I would like to be able to include some raw datafile (txt) inside an xlsx file. I think it should be possible, as images can be included as well. However, I have not found any documentation on how to do this. (It would be even better if I could do this using the Open XML library.)
I found a question + answer on stack overflow which sounds promising, but I did not work for me (or for a spreadsheet).
https://stackoverflow.com/a/3128463/727061
EDIT: Seems I made a mistake which made the Excel file corrupt, after a retry the solution above works!