Excel worksheet cell has limitations to maximum characters in can contain and that may be causing this. Try saving the cookie in a text file.