How to rename multiple files at once using excel

Поделиться
HTML-код
  • Опубликовано: 2 авг 2024
  • Changing thousands of filename manually could make you crazy. This is why in this advanced excel tutorial i have showed you how you can change thousands of file name at once using just excel. We are going to use vba code for this tutorial. Lets get started:
    -------------------------------------------------------------------------------------------------------------
    Learn Excel VBA Here: bit.ly/excelvbacourse
    -------------------------------------------------------------------------------------------------------------
    Step 1: Extract the file names with extension in column A ( • How to Import Multiple... )
    Step 2: Write the name you want them to be renamed with in column B
    Step 3: Click on developer tab ( • How to add developer t... )
    Step 4: Click on visual basic
    Step 5: Click on Insert and then Module
    Step 6: Write the code. (Please subscribe and here goes the code: msexceltutorial.com/post/How-...)
    Step 7: Click on "run" button
    Step 8: Select the folder where you kept all your files.
    Step 9: Click OK and Boom. All your files at that folder is renamed.
    #Rename #File
    Thanks for watching.
    -------------------------------------------------------------------------------------------------------------
    Support the channel with as low as $5
    / excel10tutorial
    -------------------------------------------------------------------------------------------------------------
    Please subscribe to #excel10tutorial
    goo.gl/uL8fqQ
    Playlists:
    Advance Excel Tutorial: goo.gl/ExYy7v
    Excel Tutorial for Beginners: goo.gl/UDrDcA
    Excel Case: goo.gl/xiP3tv
    Excel VBA Programming Course: bit.ly/excelvbacourse
    Social media:
    Facebook: / excel10tutorial
    Twitter: / excel10tutorial
    Blogger: excel10tutorial.blogspot.com
    Tumblr: / excel10tutorial
    Instagram: / excel_10_tutorial
    Hubpages: hubpages.com/@excel10tutorial

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

  • @michaelhand4246
    @michaelhand4246 3 года назад +5

    I just want to leave a review that the Visual Basic module works great. I was able to rename 70,000 files and the module only had to run for about 20 seconds. On smaller folders of 5,000 files or less, the module renamed the files almost instantly. Thank you so much for this time saver.

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

      Glad to hear that. Please subscribe & share.

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

      it didnt work for me

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

      Sir can you please share the code for me?

    • @weinvodka
      @weinvodka 8 месяцев назад

      Sub RenameFiles()
      'Excel10tutorial
      Dim xDir As String
      Dim xFile As String
      Dim xRow As Long
      With Application.FileDialog(msoFileDialogFolderPicker)
      .AllowMultiSelect = False
      If .Show = -1 Then
      xDir = .SelectedItems(1)
      xFile = Dir(xDir & Application.PathSeparator & "*")
      Do Until xFile = ""
      xRow = 0
      On Error Resume Next
      xRow = Application.Match(xFile, Range("A:A"), 0)
      If xRow > 0 Then
      Name xDir & Application.PathSeparator & xFile As xDir & Application.PathSeparator & Cells(xRow, "B").Value
      End If
      xFile = Dir
      Loop
      End If
      End With
      End Sub@@bryanroinuestro9340

  • @annemurray6168
    @annemurray6168 2 года назад +2

    This has been such a great help to me. I am very glad I found your tutorial. Many thanks.

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

    I watched multiple videos, this was the most useful and got the job done. Thank you for sharing!

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

    Thanks man for the wonderful video , straight to the point. Perfect, signed up :)

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

    This is excellent - thank you for saving me so much time!!!

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

    What a helpful tutorial, many thanks! I've signed up the form & Subscribed to the channel as well, waiting for the code!

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

    Hello there! Such a helpful tutorial, many thanks! I've signed up the form for the code, waiting for it!

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

    It's awesome ,I've signed up and waiting for it to my email ! Thank you so much

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

    This video was very helpful. Keep up the good work, patiently waiting for the code.

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

      Glad it helped. Code sent to everyone who signed up using the link in the description.

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

    Boss! must say you're magician. you saved big amount of my time for renaming 2200 files. it work magically! Thank you!

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

      Glad it helped! Please subscribe and be with us.

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

    Nice, looking very helpful, I've just signed up and waiting for the code to try how much powerful it is.

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

    Thank you so much, it was an excelent tutorial and it works

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

      Glad to hear that. Keep watching and keep sharing.

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

    I've just signed up and waiting for the code! Thank you so much!

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

    Hi, thanks for the wonderful video and code. Found some problem with the code from my side. After updated to Excel 2016, the Application.Match is no longer available, so it fail to match my original file and rename it. Do you have any solution on this?thanks

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

    Thank you for the video! I just requested the link through the Google form. Thank you!

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

    this is the one I need, thanks bro it works perfectly

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

    So grateful for this. God bless!!

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

    Hi, thank you for this amazing tutorial :) waiting for the mail now!

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

    Just signed up, waiting for the code. Thanks! Great Tutorial :D

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

    Just signed up, looking for code. Thanks! Great video.

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

      Thanks for the comment. Please check your email.

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

    HI this is very helpful. Thank you! God bless

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

    Thank you so much.. This was really helpful.

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

    Hello there,
    I signed up for your codes, thanks so much for making these videos.

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

      Code sent. Please check your email. Thanks a million for your appreciation.

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

    Thanks! Signed up and can't wait to get the code.

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

      Awesome! Thank you! Code sent. Please check.

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

    Thanks for posting the information! I have subscribed and I'm anticipating an email with the code. How soon can I expect it?

  • @mahermikati6839
    @mahermikati6839 4 года назад +1

    Your videos are so simple and very useful. I've signed up too. I need the two codes please

    • @Excel10tutorial
      @Excel10tutorial  4 года назад

      Glad you like them! I've sent the code. Please check your email.

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

    This looks very promising I have applied for the code many thanks

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

    It really works, Thank you so much.

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

      You're most welcome. Please subscribe and be with us.

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

    Just give a great comment that even though the post was in 2019 but it is still greatly workable for 2023 with Window 10 Office 365.
    Brilliant!!!

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

    you are the star. brilliant! I have subscribed to your channel.

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

    Would it be possible not to have the folder on the desktop? It will only rename if I put the folder on the desktop. It's not that big of a deal, but it would be nice to change if it is a simple fix.

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

    Worked like a charm. Thank you.

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

      You're most wwlcome. Please subscribe and be with us.

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

    Nice video, thanks a lot. I've just signed up and waiting for the code !

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

    This is awesome, I'm all signed up. How long does it usually take to receive the code?

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

    subbed and signed up for code! the code i nver knew i needed ! thankyou! waiting for code now :3

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

      Code sent. Check email.

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

      thankyou! but i got the code for a different video. should i apply again in the form?

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

      @@zoyamarie4646 sorry for the mistake. I've sent the mail again. If you still don't get the code just reply the earlier email you've got from me.

  • @JadiSenang
    @JadiSenang 4 года назад

    Good tutorial. thanks a lot.

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

    🙏Thank you for making these types of helpful videos..... N I have signed up for code😊

  • @lucarota2303
    @lucarota2303 4 года назад

    Hi :)
    the video is quite interesting but I didn't get the code as well till now. Are you sending the procedures yourself one by one or is it an automatic sending once we follow the procedure?

    • @Excel10tutorial
      @Excel10tutorial  4 года назад

      Sorry for being late. I've sent both of the code you requested. Please check your email. And its still manual. Is sent all the email myself.

    • @lucarota2303
      @lucarota2303 4 года назад

      @@Excel10tutorial no worries mate. I'll check my email tomorrow morning. It's almost 1am here and I'm gonna sleep now :) take care and thanks

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

    Hello, thanks a lot! I just subscribed for the code!

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

      Thanks for the sub! Code sent. Please check email

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

    This is just want i have been looking for, thanks for the video, how do i get the code?

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

    Hey, Cool video! I've just signed up and waiting for the code!

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

      Code sent. Please check your email and don't forget to subscribe.

  • @user-lu2ey4hg4f
    @user-lu2ey4hg4f 10 месяцев назад

    Thanks for the big help of yours.

    • @Excel10tutorial
      @Excel10tutorial  10 месяцев назад

      Happy to help. Please subscribe and be with us.

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

    Very cool!!! Just signed up and subscribed to the channel.

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

    Thank you for the video! waiting for the code :)

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

    Thank you, perfect!!!

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

    Seems very helpful. Waiting for the code now! :)

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

      Great! But you don't have to wait. Code link is already in the video description.

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

    Thank you for the video. I look forward to receive the code from you.

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

    I just signed. Thanks a lot for the video. Waiting for the code :)

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

    thank you so much, I sighned up for the Code

  • @vishalchand6619
    @vishalchand6619 6 месяцев назад

    Worked perfectly
    Thanks

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

    Great tutorial! Just waiting for the code. Would like to know when I’d be able to receive it?

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

      Sent!

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

      @@Excel10tutorial received the code and tried it out. This is truly wonderful! Saves a lot of time. Thank you so much!

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

      You're welcome. Be in touch and share the video.

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

    I have signed up your code, I'm waiting for it to my email, thanks!!

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

    Signed up and waiting for code. Been looking for this ty.

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

      Hope you enjoy it! Just sent codes to everyone.

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

    hi thanks for the video. i need to rename 3k plus files. this will ease my job. have signed up and now waiting for the code. thank you

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

      Code sent. Please check your email. don't forget to subscribe.

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

    Thanks a lot , this was super...

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

    I’ve already signed-up bro. waiting for your code. thank you so much

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

      Code sent already. Please check your email and thanks for signing up.

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

      @@Excel10tutorial Hi, I haven't received it yet can you please resend it. thank you so much.

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

    Thanks for the video.
    I'm waiting for the code :)

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

    Waiting for the code, looks like a good video.

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

    I signup! Can't wait to get the code.

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

    Just sent an email. Waiting for the code. These videos are great. Thank you!

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

    Already signed up. Waiting for the code. Thank you very much..

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

    Signed up already. Waiting for your code...Thanks a lot.

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

    thank you so much

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

    Your videos definitely help me the most 😭 Thank you so much.. i have subscribe and i hope i can get the code..

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

      Thanks a million for subscribing. Code is already linked in the description. Please check,

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

    Excellent tutorial

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

    Thank you so much...

  • @shammi136
    @shammi136 4 года назад

    This is very helpful, just requested for codes. I haven't received it yet

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

    Thanks a lot! Waiting for the email now

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

    Just signed up, waiting for code. Thanks! Helpful video.

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

    Bro, Typing original name takes huge time instead we can rename file directly.
    My original name is like name of persons.
    Please suggest a way to copy original name files in excel.

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

      There are two ways for that and they are as follows.
      ruclips.net/video/J9poBn2fJIY/видео.html
      ruclips.net/video/bpEtDqbqDTc/видео.html

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

    Hi, thanks for the video, when can I expect to receive the code please?

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

    Good tip, looking for code. Advanced thank

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

    Thanks! god bless u ...

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

    It's really great. Can I get the code? It's too needful for me.

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

      Please check your email. Code sent to everyone who signed up. If you haven't already, please signup using the link in the description.

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

    Hello I have signed up for the code
    Great tutorial

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

    Thanks for for the tutorial.. Signed up for the code. @Excel 10 tutorial

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

    Signed up for 2 of your tutorials, awaiting code for
    1. Extracting file names, path and ext
    2. Renaming the file names
    thanks

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

    Hi need help, only the file names are not changing once I run the folder in the last step.
    Request you to please do guide

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

      Check the code again. Make sure you've correctly added the new names in the sheet and you extracted the old names correctly. If you still have any problem, send me email. Email address is in the channel about section.

  • @007plus01
    @007plus01 3 года назад

    Does this run on excel 2011 for mac?

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

    Thank you for the this. Waiting for the code

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

      You're welcome! Code sent. Please check your email.

  • @mandrael
    @mandrael 4 года назад +1

    Wow that's awesome! I searched quite a long time for this! I need it to rename files for my accounting folder ([paid date] - [invoice number])

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

    Hey thanks for showing us this. I submitted the form but still now code in email. Can you send it?

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

    Nice!

  • @Ahmadgaming0077
    @Ahmadgaming0077 4 года назад +1

    tried this method but says "compile error,syntax error" in a dialog box
    what should I do?

    • @Excel10tutorial
      @Excel10tutorial  4 года назад

      Copy the code correctly. You are missing something. If you still get the error then email me.

    • @Ahmadgaming0077
      @Ahmadgaming0077 4 года назад

      @@Excel10tutorial Removed the space between each line and it worked.
      Thank YOU!
      I think if you want more interactions you should put your codes on a portal because not everyone feel safe while submitting info in you google form.
      Just a suggestion

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

    Hi I have signed up and given my email 2 days ago and still have not received the code. Just wondering when i can expect it?

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

      It never takes two days. Please signup again or send me an email. I'll resend it

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

    Thanks for the video. Signed up and now waiting for the code.

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

    I really like the idea and looking forward to using it. Please forward me the link as I already send a request.

  • @Sagar-qt1yr
    @Sagar-qt1yr 2 года назад

    I have one question sir same code will apply for every situation

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

    Great Video! Could I please get the code? I never received the email. Thank you.

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

    Hi, What to do if we have one Image file and needs to give them multiple names. For Example - Image name is A and we have convert it to 10 different file names

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

      First you need to copy the image multiple time and then use this technique.

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

    Does this code work on Google Sheets on Mac please?

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

      Sorry. It doesn't work on either Mac or Google Sheets.

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

    I have filled the google form, but haven't received the code yet? what do I have to do further?

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

    Hi, I have signed up a couple of minutes ago with my mail id, no code received yet. Can you please check?

  • @larrynordeen2549
    @larrynordeen2549 4 года назад

    Great video! A real time saver! I have subscribed to your channel and donated for this video. Please send me the code for this video. This is the 2nd video I have used.

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

    Just signed up! When can i expect the code?

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

    Hi Matera here,
    Signed up subscribed looks clean,
    waiting for the code.

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

    Just signed up, waiting for the code, Thanks!

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

    You have excellent tutorials. Thanks you. Would you please email me the code? Or is it possible for me to just enter the code as you have it written in the video?

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

      Sent

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

      @@Excel10tutorial All I see that arrived in my email inbox is a link back to this video.

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

      @@garygaleoldsfamily6520 So sorry for that. Send me a reply of the email and i'll send you the link again.

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

    Waiting for the code. Thank you :)

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

    Just received the google form but no code yet? Please sent me the code. Thank you.