How to import data in Excel from the clipboard as if it was in a text file?

8

Using Excel you can import data from a text file with a wizard available at -> Data -> From text.

Is there a way of using the same wizard to import data coming from the clipboard without having to create an empty text file, pasting the contents there and then using the wizard?

Ignacio Soler Garcia

Posted 2016-08-24T07:49:33.987

Reputation: 1 729

what functionality do you exactly need? Data - "Text to column" should work pretty similarly. – Máté Juhász – 2016-08-24T07:51:49.297

Answers

8

Text to columns (in data tab) have almost the same functionality than your "import from text file has".

You can split the text to columns by fixed length or at separators, select data type for each column...

Máté Juhász

Posted 2016-08-24T07:49:33.987

Reputation: 16 807

2

Alternatively, if you have the text data on your clipboard, you can Use Text Import Wizard...  (I've confirmed that this works for Excel 2010+; not sure about older versions.)

Screenshot from Excel 2017

YenForYang

Posted 2016-08-24T07:49:33.987

Reputation: 121

But this seems to provide the exact same functionality as "Text to Columns".   (It might be one less mouse click.) – Scott – 2019-03-25T17:08:03.477