Exporting/importing into Excel

I wish to export my Endnote X7 library into Excel in a way that would be as easy as possibly to import back into Endnote. Any recommendations as to how?

My reasons for wanting to export the references into an Excel-file is that I want to add a random number to each reference. This way, when I import the references back into Endnote, I will be able to sort the references according to the random number each reference has been assigned to. It is pretty much the same method as outlined in this thread: 


Unfortunately the thread does not outline exactly how this is done.