How to prevent wrapping when importing text file

STIRRELL

New Member
Joined
Dec 30, 2010
Messages
35
Office Version
  1. 365
Hi, I am using the import function to import a text file. But the file is wrapping the text and no matter what I try I can not stop the wrapping. as
I could not see anything specific that was causing the wrapping. I am trying to get the information for each record on one row. Any help would be appreciated.

Sample 1
Line 889: Email - "John.Doe@sample.com" Employee ID - "2793"
No User or Employee record changes.
Sample 2
Line 920: Email - "Jane.Doe@sample.com" Employee ID - "2867"
Warning - The 2nd approver email John.Doe@sample.com does not exist. If the user is successfully created later in this file, it should be assigned.
No User or Employee record changes.

Thank you so much,
Sharon
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

goesr

Well-known Member
Joined
Nov 15, 2013
Messages
678
Hi STIRRELL - Have you tried copy and paste-special - values? It sounds like import is taking the underlying formatting and adding in the unwanted wrapping. Sometimes I have gotten around this by using paste special values which does not include any formatting. Hope this helps get you started.
 

Marc L

Well-known Member
Joined
Apr 5, 2021
Messages
1,723
Office Version
  1. 2010
Platform
  1. Windows
Hi,​
just well format the cells after the importation …​
 

Forum statistics

Threads
1,147,498
Messages
5,741,504
Members
423,663
Latest member
kaveh87rsh

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top