List All Files (From a Selected Folder) | Excel VBA Macro

Поделиться
HTML-код
  • Опубликовано: 15 окт 2024
  • Excel VBA Macro: List All Files (From a Selected Folder). In this video, we go over how to use Application.FileDialog(msoFileDialogFolderPicker) to allow a user to select a folder, and use our code to return the names of all of the files in that selected folder.
    This is a modification of code from: www.thespreads...
    #ExcelVBA #ExcelMacro

Комментарии • 16

  • @greggowaffles
    @greggowaffles  3 года назад

    List Time Last Saved (For All Files In Folder) 😎😎: ruclips.net/video/7qnO37TsojE/видео.html

  • @satyamjha7402
    @satyamjha7402 6 месяцев назад +1

    Nice and simple!

  • @M4KE4W1SH
    @M4KE4W1SH 3 года назад

    Glad to see you posting new videos! Enjoying your content, my guy!

    • @greggowaffles
      @greggowaffles  3 года назад

      appreciate that! thanks for the support 💪

  • @WAHbappin
    @WAHbappin Год назад +1

    Is there a way to display the files when selecting a folder to check the contents rather than seeing if anything populates?

  • @gerryf789
    @gerryf789 7 месяцев назад

    Can you edit the script to list the files starting at cell A2 or B2 so you could leave a permanent header?

  • @benfoldin21
    @benfoldin21 3 года назад

    Great job!! Can you think of a way it's possible to add other info about the files like date last saved possibly?

    • @greggowaffles
      @greggowaffles  3 года назад

      thanks! you can use the below to grab that data. I'll make a video on this asap
      LastSavedTimeStamp = ActiveWorkbook.BuiltinDocumentProperties("Last Save Time")

    • @greggowaffles
      @greggowaffles  3 года назад

      here you go! ruclips.net/video/7qnO37TsojE/видео.html

  • @brokenmind88
    @brokenmind88 3 месяца назад

    thanks man... 👍

  • @joanagonzales2775
    @joanagonzales2775 Год назад +1

    Is there a way to find a list of files and extract it as well

    • @greggowaffles
      @greggowaffles  Год назад

      Just made a video on that topic. Hope it helps! Excel VBA Macro: Extract Data from All Files in a (User Selected) Folder
      ruclips.net/video/9o6t6c_a7rY/видео.html

  • @nellaimuthuvels7099
    @nellaimuthuvels7099 2 года назад

    how to do it for MAC version, filesystemobject not exisit error is there..please help

  • @x4ms
    @x4ms Год назад

    it works like a charm!