Loop Through All Files in a Folder Using VBA/Macros in Excel

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 พ.ย. 2024

ความคิดเห็น • 22

  • @jeffmartinez262
    @jeffmartinez262 2 ปีที่แล้ว +1

    Thanks, this was exactly what I needed to know. The "Dir" function was completely new to me. I watched this video and was able to build my code with no problems at all. Thanks again.

    • @TeachExcel
      @TeachExcel  2 ปีที่แล้ว +1

      You're very welcome Jeff! I'm glad I could help!

  • @j.dasilva4567
    @j.dasilva4567 2 ปีที่แล้ว

    Seen many vba tutorials, u got the right way to do this. Great work. Thank u.

  • @scooble
    @scooble 2 ปีที่แล้ว +1

    Cool....I didn't realise Geoff Goldbloom was such an Excel expert!

  • @shivangimittal7482
    @shivangimittal7482 ปีที่แล้ว

    Good Tutorial!
    Thank you for precise and simple explanations. Found it very useful

  • @teoxengineer
    @teoxengineer 2 ปีที่แล้ว +1

    Very good explanation, thank you very much.
    I offen use FileSystemObject method instead of Dir one because it provides more flexiblity for me. Also, when I use FSO, I can learn more things for example windows file directory info like hard disc size, name or file paths including extentions, modification dates, establishing dates etc.
    Can you make an handy video about File System Object usage?

  • @deninsrmic4165
    @deninsrmic4165 2 ปีที่แล้ว

    Great tutorial, brilliantly explained going step by step through. This part of the code is something I was looking for to append workbooks (containing one sheets each) on top of each other something similar to power query. Thank you for the video. 👍🍀

  • @ryanzortman9165
    @ryanzortman9165 2 ปีที่แล้ว +2

    Like the videos. How about looping through another workbook to find a value. Kind of like a vlookup or xlookup with a press of a button.

  • @nadermounir8228
    @nadermounir8228 2 ปีที่แล้ว

    Thank u very much for your hard work. A quick question: do you have any tutorial on class modules in VBA ?

  • @VinodKRamachandra
    @VinodKRamachandra 2 ปีที่แล้ว

    I really liked the flow.

  • @shakhobiddinnakiev6767
    @shakhobiddinnakiev6767 ปีที่แล้ว

    thank you bro, great tutorial!!!

  • @naiduvikas202
    @naiduvikas202 2 ปีที่แล้ว

    Great video and amazing stuff

  • @ruthlammers6441
    @ruthlammers6441 ปีที่แล้ว

    Very very helpful!!!!!!

  • @SITIOOTITS
    @SITIOOTITS 2 ปีที่แล้ว

    Do you have a code or a tutorial video on how to generate a worksheet file whether its excel or csv format. Using vba template.

  • @francocortesi9718
    @francocortesi9718 6 หลายเดือนก่อน

    Excuse me, but what about differencies between EXCEL for WINDOWS against for MAC in managing Files-Folders propriety? have you got some video on this topics?

  • @carolmarie4488
    @carolmarie4488 7 หลายเดือนก่อน

    @TeachExcel - I had a macros that was working perfectly, then updated to Windows 11 and it all went crazy. After I was finally able to unblock the security issues, it started to work but it's only capturing the data in one file inside the directory/folder where it's supposed to pull all the data from (there are 9 total files there). What could the problem be?

  • @anoshjustin9592
    @anoshjustin9592 2 ปีที่แล้ว

    Can we get the list of word document also?

  • @CarolSelles-s3k
    @CarolSelles-s3k 7 หลายเดือนก่อน

    @TeachExcel - we had a macro that was working perfectly. Then updated to Windows 11 and it didn't even open. We did the unblocking etc., and now it will only read one file inside the folder where all them are. What could be wrong with it?

  • @sunelidberg9503
    @sunelidberg9503 2 ปีที่แล้ว

    Good video

  • @designexperience
    @designexperience 8 หลายเดือนก่อน

    How do I do this for OneDrive online storage

  • @Tat-cx1lr
    @Tat-cx1lr ปีที่แล้ว

    Bonjour
    Merci pour votre partage
    Ma macro ne fonctionne pas au niveau de copy:=
    Pourriez-vous svp m’aider
    Fred