I recently used the Text to Columns feature in Excel to split a column of data into multiple columns based on the space character. Now when I paste text into Excel it automatically splits it into multiple columns without using the Text to Columns feature. Is there a way to revert this functionality back to normal?
This seemed to work, but is a bit involved.
- Enter data into a cell.
- Select the Text to Columns feature.
- Make sure Delimited is selected and choose Next.
- Uncheck the check next to Space (or the delimiter you want to disable)
- Click Finish.
I created a quick Macro and added it to my personal.xlsm file. Here is the code. This more or less does the same thing that Leigh Riffel has suggested except it is a quick Macro run.
Sub DisableAutoSplitting() Selection.TextToColumns Destination:=Range("C2"), DataType:=xlDelimited, _ TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=False, _ Semicolon:=False, Comma:=False, Space:=False, Other:=False, FieldInfo _ :=Array(1, 1), TrailingMinusNumbers:=True End Sub
Or just click into the formula bar or into the cell as if you are typing, then paste - it will then only go into that cell. (LOL creating a macro - so over complicated)
Wouldn't CTRL Z for undo be a faster way to revert it?
protected by Community♦ Apr 20 '16 at 10:09
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?