Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to copy and paste CSV formatted text into Excel 2007.

Is there a way of doing this without saving it to a temporary file first?

I'm sure in previous versions of Excel there was a way to trigger the CSV import wizard by hand in this situation, but I don't know how do this in Excel 2007.

For reference, in OpenOffice this Just Works - pasting in 2+ lines of CSV text will trigger the CSV import wizard.

share|improve this question
    
Do you have the CSV file? I don't have one handy to test, but if the file is accessible (including possibly over the network), you should just be able to open Excel, open that file, then Save As to the appropriate Excel format. –  Thomas Owens Aug 4 '10 at 10:15
    
@Thomas - thanks, but I was trying to avoid going via a file for convenience (since the CSV data is from an email). –  therefromhere Aug 4 '10 at 10:43

4 Answers 4

up vote 76 down vote accepted

You need to insert your data into one column. Select this column, go to the Data menu and press the Text to Columns button.

share|improve this answer
    
thanks. This saved me some some file hoop jumping. –  Joshua Dance Nov 7 '13 at 19:11

Mark (a.k.a. select) the same number of columns expected to be imported from csv and import (paste). For example:

Name;surname
xxx;yyy

Mark columns A and B, then paste.

share|improve this answer

If you can produce tab-delimited data, you can paste directly into Excel.

If you cannot get them to send you tab-delimited (as opposed to comma-separated) e-mail, this still involves one intermediate step (e.g. paste into notepad, replace all commas with tabs, copy again) but at least you don't have to save into and import a temporary csv file.

share|improve this answer

I believe it is the same for Office 2007 (I'm using 2013) but if you paste your CSV text into a table then Excel will split it into columns for you:

  1. Insert > Table
  2. Click OK in the Create Table dialog
  3. Select the first data cell under the header in the new table
  4. Paste your data (e.g., Ctrl+V)
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.