Tabellab
Intermediate

Files, Folders & CSV

Let your macros walk through folders, read and write text files, and swallow a hundred CSV exports into one sheet.

8 lessons 1.1 h Certificate

The first lesson is free — no account needed.

About this course

Let your macros walk through folders and handle files. You check paths and whether a file exists, loop through every file in a folder, use the FileSystemObject, read text files line by line, write text and CSV files, parse CSV properly, import many files into one sheet and let the user pick files with FileDialog.

Lessons

  1. Paths, Separators and Checking a File ExistsReading11 minFree
  2. Looping Through Every File in a FolderReading7 min Pro
  3. The FileSystemObjectReading8 min Pro
  4. Reading Text Files Line by LineReading7 min Pro
  5. Writing Text and CSV FilesReading7 min Pro
  6. Opening and Parsing CSV ProperlyReading8 min Pro
  7. Importing Many Files Into One SheetReading8 min Pro
  8. Letting the User Choose: FileDialogReading7 min Pro