I have an XLS of about 500 zipcodes in one column:

12345
67890
45378
etc.

that I wish to turn into a javascript array:

var myarray = [12345, 67890, 45378 ];
etc

I initially thought I could cut the column of data then paste-special-with-transpose into another XLS, but the second XLS would not allow me to paste it in (maybe too many columns? I have 500+ zipcodes.)

Does anybody have any advice on the route I can take?