View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
ianripping[_10_] ianripping[_10_] is offline
external usenet poster
 
Posts: 1
Default Multiple txt files import

This should work:-

Sub Macro1()
Workbooks.Open Filename:= "filename.txt"
Selection.Copy
Windows("Book1").Activate
Range("A1").Select
ActiveSheet.Paste
MsgBox ("Complete")
End Sub

Just put the path and filename of "filename.txt" and the current
workbooks name in "Book1"


---
Message posted from http://www.ExcelForum.com/