Excel VBA Code for Renaming All Files in a Folder - Excel VBA FSO

Поделиться
HTML-код
  • Опубликовано: 9 окт 2020
  • This Excel VBA Tutorial explains how to rename all files in a directory using VBA Programming. You can use File System Object with in vba code to create Excel Macro for changing multiple file names.

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

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

    I have used this code for bulk pdf files, it's working nice thank you so much dude

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

    Awesome brother thank you please kindly continued like this step by step clear explanations upload more vba this is really very useful for beginners like me❤🙏🏻👍🏻

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

    Great content! Useful stuff would not be limited by time. Is it possible to create a "Browse" button to select the path? Any video reference? Thanks!

  • @abdulgafoorshaik8966
    @abdulgafoorshaik8966 4 месяца назад +1

    Thank you so much. Very useful video

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

    In the old DOS era, I often created .BAT files that did the same thing with the ren command when executed at the command level.

  • @borisznidarsic9346
    @borisznidarsic9346 2 года назад +1

    Works great. Thank you 👏👏👏

  • @DDX01
    @DDX01 3 года назад +2

    Weldone but it you put this file link in the description it will be better.... keep it up

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

    Where is the loop in the first that instruct Excel to name the files from row 2 to last row ? In the first code there is one loop only related the f.folder whereas in the second code there are two loops??? Last_row +1 should go to the empty cell ? Isnt ?

  • @N-Irani
    @N-Irani 2 года назад +2

    Thank you 🙏🙏🙏🙏🙏 work very good

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

    How to handle the file name that including non-English Char?

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

    You can put this Excel file's link

  • @abdulsafwan1840
    @abdulsafwan1840 3 года назад +1

    is that possbile to rename files by using file path in C column and rename according to file path in C column instead of in E1

  • @MR.Beam2566
    @MR.Beam2566 Месяц назад

    Please give me a link to download this file.

  • @RajanKumar-fs6bf
    @RajanKumar-fs6bf 2 года назад +2

    Sir, please share VBA enabled excel file.

  • @nadermounir8228
    @nadermounir8228 3 года назад +1

    Thank you for this tutorial :) the first code is bit confusing where it is mentioned that last_row = last_row +1. Why didn't we use a loop like i = 2 to last row similar to what you did in the second code ? It is unclear

    • @ExcelDestination
      @ExcelDestination  3 года назад +2

      i=2 to last row is used to work perfectly even, if sequence of file is changed or if any file is deleted. this is making the code more useful. This code can be used as base, however with some modifications, it can be used in many ways.

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

    Hello. I hawe an issue. I receive an error when I try to renamd files that contain ș ț î ă â (romanian characters) and. Do you hawe a solution for this?

  • @mohantamangktm
    @mohantamangktm 3 года назад +3

    excellent demo please share the file.

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

    Please provide the practice file

  • @diviyar.l9654
    @diviyar.l9654 11 месяцев назад

    Its not working for me. Am i missing something?

  • @md-mohammed8455
    @md-mohammed8455 Год назад

    Sir , please share with some update in code., 1. No needcopy paste path, must be browse option ,
    2nd, no need extension name in file name, need only file name.
    Hope you understand sir
    Please share excel with VBA macro
    Thanks,

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

    Where is the file? Please share the file

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

    The code does not work and gives an error on code "Dim fso As New FileSystem Object"

  • @shagulhameed9202
    @shagulhameed9202 3 года назад +1

    I need same template excel. Please give link

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

      send me email at exceldestination@gmail.com Let me check, If I have the original template still with me.

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

      Sir already mail sent to you. please send back to macro speared sheet for emergency

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

      sir please send this file for practice 🙏🙏

  • @vikashjee3534
    @vikashjee3534 3 года назад +2

    Give file link