Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Importing .txt File into Excel with VBA

Status
Not open for further replies.

NetAdmin79

IS-IT--Management
Mar 12, 2003
1
US
I need to know how to import a .txt file into an Excel template and make sure that everything is in the appropriate cell(s). I am using Office XP. The .txt file will always be in the same format but the amount of data in the file will not be constant.
 
Record your steps using the macro recorder while conducting the import manually in Excel. That should provide a good basic code, which you can then modify as needed.
Rob
[flowerface]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top