TXT file to Excel

  • Thread starter Thread starter Reggie2004
  • Start date Start date
R

Reggie2004

I have a .txt file that I imported into excel. I have to manuall
change each field from general to text. Is there anyway to do thi
automatically?

Re
 
Sure, with a macro. Record a macro as you import the file manually as a
start.

--
Jim Rech
Excel MVP
|
| I have a .txt file that I imported into excel. I have to manually
| change each field from general to text. Is there anyway to do this
| automatically?
|
| Reg
|
|
| --
| Reggie2004
| ------------------------------------------------------------------------
| Reggie2004's Profile:
http://www.excelforum.com/member.php?action=getinfo&userid=15085
| View this thread: http://www.excelforum.com/showthread.php?threadid=267208
|
 
With ActiveSheet

With .UsedRange
.NumberFormat = "@"
End With

End With
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top