Rename All Sheets From A List... In One Step

  Рет қаралды 102,559

Officeinstructor

Officeinstructor

4 жыл бұрын

There are many ways of renaming sheets in Excel.
However if you have a large number of sheets you can rename all of them in one step following a list in the worksheet itself
In this tutorial I show you how to name any number of Sheets in one step by using a List in the worksheet.
You can Download the Exercise File and the code by clicking on the link here below.
www.amazon.ca/clouddrive/shar...
You can read the steps on my blogsite www.See-How.ca
To book a corporate Training visit our website www.OfficeInstructor.ca
For Microsoft Office Specialist Certifications - MOS - and to book an exam visit www.OfficeInstructor.com

Пікірлер: 139
@froidbisebenjamin2285
@froidbisebenjamin2285 2 жыл бұрын
What a great clear video! You explain clearly what you do and what it means. That is what is helping many people to understand!
@elephantsarenuts5161
@elephantsarenuts5161 4 жыл бұрын
No extraneous chat. Short and directly to the point. Well done.
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Thank you for the motivating comment
@alanmclean1399
@alanmclean1399 4 жыл бұрын
Fantastically clear explanation and helpful visuals that compliment it perfectly. Really helpful for a novice VBA user like me
@sparkleboyd6601
@sparkleboyd6601 2 жыл бұрын
THIS WAS AWESOMEEEEEEEEEEEEEEEEEEEEEEEEEEE! I am so glad I found this video Thank you! I was able to follow your instructions and I renamed 23 tabs in a matter of minutes. Much appreciated! God Bless you!!
@vigneshkathirkamar3113
@vigneshkathirkamar3113 4 жыл бұрын
Thanks Nabil for this video. I am beginner in vba and your videos are helping me to learn the concepts slowly. Kudos, keep going 🙌
@ronyshafiq
@ronyshafiq 3 жыл бұрын
I am from bangladesh. I watch many vedio for this problem.. and finally I can say it's simple and very easier then others. Thanks a lot sir
@sheritingle7896
@sheritingle7896 4 жыл бұрын
Thank you very much for an easy to follow video. Very thankful to have found your channel. GREAT STUFF!!
@Officeinstructor
@Officeinstructor 4 жыл бұрын
You're very welcome Sheri
@kealebogamoletsane977
@kealebogamoletsane977 2 жыл бұрын
An excellent video, explained with much clarity and passion, thanks
@michaelshultz5584
@michaelshultz5584 3 жыл бұрын
Thanks - Enjoy your clear explanation of all the details
@gregcalvert4645
@gregcalvert4645 4 жыл бұрын
Stumbled on your channel. Love it, straight to the point useful videos. Thanks BTW, subscribed after the 3rd video.
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Thank you Gregory
@kamelboukerrou6204
@kamelboukerrou6204 4 жыл бұрын
Great concise and step by steps instructions. Thank you very much.
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Glad you liked it
@abdulkaderk2169
@abdulkaderk2169 4 жыл бұрын
As a specialist teacher, I have to deal with multiple classes. I used to name each sheet as per your introduction. Thank you for this valuable and short method. Since I use all the sheets to insert students names, I named Sheet 1 as YEAR LEVELS created number of sheets according to the number of year levels. Thanking you again.
@Officeinstructor
@Officeinstructor 4 жыл бұрын
I am glad Abdulkader my video helped you in your work situation
@Luciano_mp
@Luciano_mp 4 жыл бұрын
Amazing, very helpful. Thank you Nabil!
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Thank you Luciano
@fiteboss
@fiteboss 3 ай бұрын
Great instructions. Thanks!
@emgraves2310
@emgraves2310 2 жыл бұрын
Absolutely AMAZING! Thank you :)
@efiratcan
@efiratcan 3 жыл бұрын
THAT IS perfect... thanks a lot man.
@mohitjagad
@mohitjagad 4 жыл бұрын
Thank you Nabil for this amazing tutorial.. Thanks for sharing..👍
@Officeinstructor
@Officeinstructor 4 жыл бұрын
My pleasure 😊
@shivaprasaderram8978
@shivaprasaderram8978 7 ай бұрын
Thank you so much this was helpful
@suatalturk3639
@suatalturk3639 3 жыл бұрын
great thank you so much, i helped me a lot with a workbook with more than 200 sheets :)
@Officeinstructor
@Officeinstructor 3 жыл бұрын
Glad I was able to help...
@kadirdurma
@kadirdurma 3 жыл бұрын
You are great man!! it was extremely helpfull and thanks for quick codding tutorial.
@Officeinstructor
@Officeinstructor 3 жыл бұрын
You're welcome!
@countduckula9977
@countduckula9977 2 жыл бұрын
Hi Nabil, Thank you for posting this extremely useful video. Your VBA explanation was clear & concise.
@Officeinstructor
@Officeinstructor 2 жыл бұрын
You are most welcome
@Officeinstructor
@Officeinstructor 2 жыл бұрын
You are most welcome
@njg5942
@njg5942 4 жыл бұрын
Worked for me - excellent, thank you.
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Great to hear!
@leomason15
@leomason15 Жыл бұрын
Amazing!
@joaocalunga2016
@joaocalunga2016 4 жыл бұрын
Dear many thanks
@donm1612
@donm1612 3 жыл бұрын
Very helpful. Thank you!
@Officeinstructor
@Officeinstructor 3 жыл бұрын
Glad it was helpful!
@stevennye5075
@stevennye5075 4 жыл бұрын
well done!
@sherlock3293
@sherlock3293 Жыл бұрын
Thank you very much, Sir!
@maheshbhardwaj798
@maheshbhardwaj798 Жыл бұрын
Amazing, you saved my lots of effort hurs.
@kirandeepchoudhry9232
@kirandeepchoudhry9232 4 жыл бұрын
Awesome way of explaining
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Thank you
@MdKhan-cc1qs
@MdKhan-cc1qs 4 жыл бұрын
I do not know abc of VBA. But by this video I am able to rename lot of excel sheets at a single click! Thanks
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Congratulations on creating your first code
@shajupaul5338
@shajupaul5338 4 жыл бұрын
Amazing work.
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Thank you Shaju Paul
@incognitootingocni4743
@incognitootingocni4743 2 жыл бұрын
Thanks so much!!!
@robertmillar2037
@robertmillar2037 2 жыл бұрын
Great work, can you do the VBA for sheet name AND add sheets depending on how many rows contain data?
@VoiceofEagleRecordingsVER
@VoiceofEagleRecordingsVER 8 ай бұрын
Amazing video
@gmartinez101
@gmartinez101 3 жыл бұрын
Thank you for sharing this, i have been looking to use this function for a week. It works great
@milburngrimes5070
@milburngrimes5070 4 жыл бұрын
This an excellent video, Nabil. I always wondered how to switch from one sheet to the next in order to change the names, and this is a fabulous workaround! As a language teacher, VBA makes me a bit nervous because I'm always worried about spacing, capitalization, and syntax - the same as I would while teaching composition. How do I learn the rules for VBA spacing, capitalization, indentation, etc? Keep up the fantastic work, Nabeel!
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Thank you for the nice comment... Did you Subscribe to my Channel? The Best Is Yet To Come
@karunakardev980
@karunakardev980 4 жыл бұрын
interesting and timesaving video thanks a lot.....
@Officeinstructor
@Officeinstructor 4 жыл бұрын
You are welcome
@mashukanam
@mashukanam Жыл бұрын
Thank you bro
@ShaibulHoqueMozumder
@ShaibulHoqueMozumder 3 жыл бұрын
Thank you sir from india
@taizoondean689
@taizoondean689 Ай бұрын
Thank you
@ronnie9096
@ronnie9096 3 жыл бұрын
when using F8 on the fourth row "Sheet" is highlighted as an error. compiler error message is "variable not defined" so when defined sheet as worksheets, it worked thanks for the amazing tutorial.
@Officeinstructor
@Officeinstructor 3 жыл бұрын
Glad it worked
@sometrioeng2602
@sometrioeng2602 Жыл бұрын
it is great, sir
@SanviPatil2019
@SanviPatil2019 2 жыл бұрын
Amazing
@MohAboAbdo
@MohAboAbdo 3 жыл бұрын
Thank you so match, Sir.
@Officeinstructor
@Officeinstructor 3 жыл бұрын
Always welcome
@subratadutta4562
@subratadutta4562 4 жыл бұрын
Nice one
@eyestickfpv
@eyestickfpv 2 жыл бұрын
What a fantastic video! Could you provide me and advice how to limit to 30 caracters? I have a list taken from an other cell and it’s more than 30 ( limit for sheet name)
@user-rc5li9jg1q
@user-rc5li9jg1q Жыл бұрын
After a few glitches I got it to work. I was trying to put days of the month, which excel automatically turns into a date, that cannot be a sheet name (no / allowed ). A couple of extra steps fixing the list and changing it to text and bingo 35 sheets done and rolled over for another month! I think I watched another of your videos for making a totals page from a range of sheets, so there was a "first", "Last", "totals" and "rename sheets"
@khemrajrana7322
@khemrajrana7322 4 жыл бұрын
Thanks sir for file & u r amazing sir
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Thank you for the encouragement
@berthony65
@berthony65 10 ай бұрын
Good day, Nabil, I am trying to follow along but I do not have the same Excel version you have, which I believe is a problem. Our tool bars are different and I also do not have access to visual basic editor. Is there another way to range the a1 column and sheets? Thanks
@youssefb3599
@youssefb3599 3 жыл бұрын
This is a great job. I do not use VB, but the way you show it and the steps are clear to anyone. Thanks a lot for this video. I am always dealing with this issue, and finally found the answer. However, how to deal with multiple excel files for which, let's say, we need to rename sheets using the same group of names? Thanks.
@Officeinstructor
@Officeinstructor 3 жыл бұрын
Performing an action on multiple files requires looping over workbooks
@brodiesammy771
@brodiesammy771 3 жыл бұрын
hi works great but if you want to update say 5 name out of 100 as soon as the macro hits a sheet name which is the same as it is trying to change it to it stops and errors out.. how can I fix this
@karmen1061
@karmen1061 Жыл бұрын
Hi , would like to ask how to save can use this marco for everyday . ?
@AhmedAbdalalim
@AhmedAbdalalim 4 жыл бұрын
Great
@satishchaurasia84ya
@satishchaurasia84ya 4 жыл бұрын
Wow nice trick thanks allot
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Glad you liked it
@nguyenhoangphuc7555
@nguyenhoangphuc7555 Жыл бұрын
thank for you
@Officeinstructor
@Officeinstructor Жыл бұрын
Thank you too
@1pieceluffy1
@1pieceluffy1 4 жыл бұрын
i want to start the renaming on the next sheet, not on the same sheet. What should I modify in the code? Thanks
@raghavendranl
@raghavendranl 3 жыл бұрын
Thank you sir, really it is great class for me. Sir, what steps in same situation in Google spreadsheets? Please guide me.
@abbasalishah7211
@abbasalishah7211 3 жыл бұрын
Sir what if we want "name" to be the date... I. E my workbook is named "july, 2021" and want to name sheets by date for every single day. Pls guide
@syednabeelali4823
@syednabeelali4823 4 жыл бұрын
Excellent
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Thank you so much 😀
@sandipmakwana6462
@sandipmakwana6462 4 жыл бұрын
Super and easy
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Thank you 🙂
@dimitrz2000
@dimitrz2000 3 жыл бұрын
Thanks very useful , quick question once all the sheets have been renamed , can I come back and delete the macro if a) I dont want to rename more sheets in future b) I want to retain a macro free workbook ?
@Officeinstructor
@Officeinstructor 3 жыл бұрын
Yes, you can, Vinod
@poojakhedekar2851
@poojakhedekar2851 2 жыл бұрын
I am copying multiple sheets in one excel and want rename it.. but due some restrictions I am not supposed to have macro in that main excel sheet.. is there any way that I can have this macro in another workbook and it will rename the sheets in the main excel sheet automatically...
@epdiaz5813
@epdiaz5813 7 ай бұрын
This is an AMAZING VIDEO! I spent so much time on other videos and I would always get an error or a bug and could never figure it out. Thank you so much! I want to ask, how do I get the sheets to start renaming beginning from the second sheet, as I don't want Sheet 1 (The list of names) to be renamed as the first name on my list?
@clentwilliamsii225
@clentwilliamsii225 3 жыл бұрын
Thanks for the lesson, however I am trying to use this format in a workbook in which the naming sheet is the second sheet in the workbook and will only rename sheets after the naming sheet. Can you help me?
@Officeinstructor
@Officeinstructor 3 жыл бұрын
Hi Assuming that the first sheet is named "Nabil" and we want to start renaming from the second sheet having the list of names, then I will add a conditional statement that evaluates the sheet name first before renaming, as follows: Sub RenameSheets() Dim i As Integer i = 1 For Each Sheet In Sheets If Sheet.Name "Nabil" Then If Cells(i, 1) "" Then Sheet.Name = Cells(i, 1).Value i = i + 1 End If End If Next Sheet End Sub Good Luck
@abdelkrimmesaiahmed662
@abdelkrimmesaiahmed662 3 жыл бұрын
Great video, but i wondering if I want the sheet where the list of names don't to be named with the code how to do this?
@joselrivas
@joselrivas 5 ай бұрын
Hi everything work perfect , but I want to star putting name on the second sheet . What can I change in the coding ?
@marlonhalliday3274
@marlonhalliday3274 4 жыл бұрын
How do you indent your vb code is there a short cut key!! you use. Thanks
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Just put your cursor at the beginning of the line and hit TAB as many times as you want
@albertwilson3396
@albertwilson3396 2 жыл бұрын
I have 12 cells I want to name 12 of the sheets (not all sheets just 12 in the middle of 24. and Cells are spread over 4*3 layout. Cells H5:K8) any thoughts?
@suhailnbd
@suhailnbd 4 жыл бұрын
Very nyc
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Thank you
@vijaysahal4556
@vijaysahal4556 4 жыл бұрын
good 👍👍
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Thanks
@ericyeargain6559
@ericyeargain6559 Жыл бұрын
What about if you are wanting to do a Date format? I'm failing with this. If I put in alpha characters only it works, but nothing with a date
@dbacker
@dbacker 3 жыл бұрын
how do i avoid name is already taken error? I want the name to be replaced even if the sheet name is already the required name.
@MrLeecavturbo
@MrLeecavturbo 4 жыл бұрын
i get an error if the cells contain anything other than letter text. i.e a date or number
@madeleinemoorcroft7601
@madeleinemoorcroft7601 2 жыл бұрын
I've done exactly what was showed in the video which works perfectly however the other formulas I had in my main sheet now shows BLOCKED what does this mean and how do I get around it?
@sumitgupta9118
@sumitgupta9118 2 жыл бұрын
Can I rename worksheet name as workbook?? For single sheet only?? I have number of files in Excel to rename??
@jeraldthalaiva85
@jeraldthalaiva85 6 ай бұрын
Sir, incase u have to change name is automatically rename change or not??
@ShaibulHoqueMozumder
@ShaibulHoqueMozumder Жыл бұрын
How to change one or moreTabs name or worksheets name in upper Case by vba? my worksheets has 100 nos
@gerardo8229
@gerardo8229 3 жыл бұрын
What if I want to hyperlink at the same time? Thanks the video it's very helpful
@Officeinstructor
@Officeinstructor 3 жыл бұрын
You can... watch my other videos about Extracting a List of Sheet names and hyperlinking them
@sushmitashettigar
@sushmitashettigar Ай бұрын
What if present name and changing name of some sheets are same. I am facing this problem getting debug message that try other method present name is same
@ShaibulHoqueMozumder
@ShaibulHoqueMozumder 3 жыл бұрын
Sir it is unable run in excel 2013 , what we have to do? Plz help
@sandipmakwana6462
@sandipmakwana6462 2 жыл бұрын
sir suppose i have list 15 name of sheet so please make vba code to creat sheet as per list if possible
@sweetmask1690
@sweetmask1690 4 ай бұрын
Is it working on Google sheet?
@0106283753
@0106283753 4 жыл бұрын
THANK YOU NABIL AMAZING VEDIOS I WANT TO CONNECT WITH YOU
@Officeinstructor
@Officeinstructor 4 жыл бұрын
I'm glad you enjoyed my tutorials. You can connect with me by clicking on any of the website links in my tutorials where you'll find my contacts
@c07072012c
@c07072012c Жыл бұрын
How can we make it so that it skips sheets with the name already taken and not give an error
@mohamed.montaser
@mohamed.montaser 4 жыл бұрын
if i want to skip the first sheet and start renaming from the second sheet, how to do it?
@Officeinstructor
@Officeinstructor 4 жыл бұрын
You need to wrap the looping in a conditional statement
@mohamed.montaser
@mohamed.montaser 4 жыл бұрын
@@Officeinstructor i don't get it
@LindaWhite-jc9rg
@LindaWhite-jc9rg Жыл бұрын
Can you see me the code for this? Many thanks
@chantallecompte5657
@chantallecompte5657 3 жыл бұрын
This only worked for the first 5 names, I have 45 names. My first name starts at A4, my i value is 4, right?
@Officeinstructor
@Officeinstructor 3 жыл бұрын
any code needs customization according to the work situation. I am just explaining a concept
@chantallecompte5657
@chantallecompte5657 3 жыл бұрын
my first tab changed to 9176?? why?
@nattroy891
@nattroy891 6 ай бұрын
I don't know if you're still checking comments. I put your code into my VBA exactly as you had it, but when I click 'Run' nothing happens.
@Officeinstructor
@Officeinstructor 5 ай бұрын
may be macros are disabled
@NTECH_e-learning
@NTECH_e-learning 4 жыл бұрын
how can i rename a group of 10 sheets (middle) in a workbook
@Officeinstructor
@Officeinstructor 4 жыл бұрын
You need to customize the code
@ktimilsi
@ktimilsi 2 жыл бұрын
@@Officeinstructor I came across the same situation. I have close to 200 sheets, and I only want to rename the mid 20 or so sheets. How do I customize the code to get this working?
@christinacoleman1138
@christinacoleman1138 8 ай бұрын
It keeps throwing an error on "Sheet.Name = Cells(i, 1).Value"
@eddiemendez4766
@eddiemendez4766 2 жыл бұрын
did not work for me. I do not want to rename the tab that has the naming structure or the tab that has the summed up data but instead rename the remaining tabs. for example i have the first tab that will have the collected data represented and then the next subsequent tabs broken down by the day of the month for the entire month.
@KaelNL
@KaelNL 4 жыл бұрын
Why "dim i" and not "dim Sheet"? Seems sloppy. I would prefer to use Option Explicit and declare both variables
@carlosgranah
@carlosgranah 4 жыл бұрын
If you are using Option explicit add this Dim Sheet As Object
@garywenger5209
@garywenger5209 3 жыл бұрын
I have followed your video several times and have even copied your code for my workbook but it will not work. I have a workbook that is called "Mixed poker rooster" that keeps track of poker players for our bowling league. It consists of a master sheet that tallies weekly deposits. The sheets are named for the day of the week for 35 weeks. IE master, 02-sep-2019, 09-sep-2019, etc. for thirty - five weeks. the statement "Sheet.Name = Cells(i, 1).Value" never gets run. Here is my routine; Sub RenameSheets() Dim i As Integer i = 1 For Each Sheet In Sheets If Cells(i, 1) "" Then Sheet.Name = Cells(i, 1).Value i = i + 1 End If Next Sheet End Sub
@joaocalunga2016
@joaocalunga2016 4 жыл бұрын
Dear many thanks
@rafaelty6285
@rafaelty6285 3 жыл бұрын
Amazing!
@Officeinstructor
@Officeinstructor 3 жыл бұрын
Thank you! Cheers!
Excel Formula to List All Sheet Tab Names and include Hyperlinks
11:28
MyOnlineTrainingHub
Рет қаралды 105 М.
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 68 МЛН
WHAT’S THAT?
00:27
Natan por Aí
Рет қаралды 14 МЛН
List All Your Sheets Efficiently in Excel (10 Levels)
29:48
Victor Chan
Рет қаралды 51 М.
SURPRISING Advanced Filter TRICK in Excel (You've Never Heard Of!)
5:59
Leila Gharani
Рет қаралды 1,2 МЛН
Color All Excel Sheet Tabs Differently in One Step
9:52
Officeinstructor
Рет қаралды 63 М.
Rename Sheet Based On Cell Value In Excel  -  VBA Code Included
5:22
Chester Tugwell
Рет қаралды 31 М.
The Easy Way to Create Sheets from a List of Values in Excel
5:19
How To Excel
Рет қаралды 106 М.
Excel VBA - Add New Sheet and Rename
13:27
Ah Sing TV
Рет қаралды 9 М.
When You Should Use the New Excel LET Function
17:18
Leila Gharani
Рет қаралды 758 М.
How To Create Multiple Worksheets From A List Of Cell Values
2:48
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 68 МЛН