Guest User

Untitled

a guest
Jun 20th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. Sub tildaReader()
  2. FilesToOpen = Application.GetOpenFilename
  3. Close #1
  4. Open FilesToOpen For Input As #1
  5.  
  6. j = 1
  7. Do While Not EOF(1)
  8. Line Input #1, TextLine
  9. arr = Split(TextLine, "~")
  10. Cells(j, 1).Resize(1, UBound(arr) + 1).Value = arr
  11. j = j + 1
  12. Loop
  13.  
  14. Close #1
  15. End Sub
Add Comment
Please, Sign In to add comment