How to prevent wrapping when importing text file

STIRRELL

New Member
Joined
Dec 30, 2010
Messages
37
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

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

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,765
Office Version
  1. 2010
Platform
  1. Windows
Hi,​
just well format the cells after the importation …​
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,151,972
Messages
5,767,400
Members
425,410
Latest member
SmittyT

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