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

  Рет қаралды 106,612

Officeinstructor

Officeinstructor

Күн бұрын

Пікірлер: 140
@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
@abdulkaderk2169
@abdulkaderk2169 5 жыл бұрын
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 5 жыл бұрын
I am glad Abdulkader my video helped you in your work situation
@elephantsarenuts5161
@elephantsarenuts5161 5 жыл бұрын
No extraneous chat. Short and directly to the point. Well done.
@Officeinstructor
@Officeinstructor 5 жыл бұрын
Thank you for the motivating comment
@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
@alanmclean1399
@alanmclean1399 5 жыл бұрын
Fantastically clear explanation and helpful visuals that compliment it perfectly. Really helpful for a novice VBA user like me
@berthony65
@berthony65 Жыл бұрын
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
@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!!
@joselrivas
@joselrivas 8 ай бұрын
Hi everything work perfect , but I want to star putting name on the second sheet . What can I change in the coding ?
@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
@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!
@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
@jeraldthalaiva85
@jeraldthalaiva85 9 ай бұрын
Sir, incase u have to change name is automatically rename change or not??
@countduckula9977
@countduckula9977 3 жыл бұрын
Hi Nabil, Thank you for posting this extremely useful video. Your VBA explanation was clear & concise.
@Officeinstructor
@Officeinstructor 3 жыл бұрын
You are most welcome
@Officeinstructor
@Officeinstructor 3 жыл бұрын
You are most welcome
@clentwilliamsii225
@clentwilliamsii225 4 жыл бұрын
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 4 жыл бұрын
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?
@vigneshkathirkamar3113
@vigneshkathirkamar3113 5 жыл бұрын
Thanks Nabil for this video. I am beginner in vba and your videos are helping me to learn the concepts slowly. Kudos, keep going 🙌
@youssefb3599
@youssefb3599 4 жыл бұрын
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 4 жыл бұрын
Performing an action on multiple files requires looping over workbooks
@robertmillar2037
@robertmillar2037 2 жыл бұрын
Great work, can you do the VBA for sheet name AND add sheets depending on how many rows contain data?
@marlonhalliday3274
@marlonhalliday3274 5 жыл бұрын
How do you indent your vb code is there a short cut key!! you use. Thanks
@Officeinstructor
@Officeinstructor 5 жыл бұрын
Just put your cursor at the beginning of the line and hit TAB as many times as you want
@epdiaz5813
@epdiaz5813 11 ай бұрын
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?
@ronnie9096
@ronnie9096 4 жыл бұрын
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 4 жыл бұрын
Glad it worked
@sumitgupta9118
@sumitgupta9118 2 жыл бұрын
Can I rename worksheet name as workbook?? For single sheet only?? I have number of files in Excel to rename??
@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
@gregcalvert4645
@gregcalvert4645 5 жыл бұрын
Stumbled on your channel. Love it, straight to the point useful videos. Thanks BTW, subscribed after the 3rd video.
@Officeinstructor
@Officeinstructor 5 жыл бұрын
Thank you Gregory
@sweetmask1690
@sweetmask1690 7 ай бұрын
Is it working on Google sheet?
@kamelboukerrou6204
@kamelboukerrou6204 4 жыл бұрын
Great concise and step by steps instructions. Thank you very much.
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Glad you liked it
@mohitjagad
@mohitjagad 4 жыл бұрын
Thank you Nabil for this amazing tutorial.. Thanks for sharing..👍
@Officeinstructor
@Officeinstructor 4 жыл бұрын
My pleasure 😊
@DaveBarnes-s2r
@DaveBarnes-s2r Жыл бұрын
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"
@michaelshultz5584
@michaelshultz5584 3 жыл бұрын
Thanks - Enjoy your clear explanation of all the details
@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...
@suatalturk3639
@suatalturk3639 4 жыл бұрын
great thank you so much, i helped me a lot with a workbook with more than 200 sheets :)
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Glad I was able to help...
@janathenaariana574
@janathenaariana574 2 ай бұрын
sir @officeinstructor the exercise file is not found.
@kadirdurma
@kadirdurma 3 жыл бұрын
You are great man!! it was extremely helpfull and thanks for quick codding tutorial.
@Officeinstructor
@Officeinstructor 3 жыл бұрын
You're welcome!
@KeaYeshua
@KeaYeshua 3 жыл бұрын
An excellent video, explained with much clarity and passion, thanks
@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
@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
@njg5942
@njg5942 4 жыл бұрын
Worked for me - excellent, thank you.
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Great to hear!
@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
@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.
@fiteboss
@fiteboss 6 ай бұрын
Great instructions. Thanks!
@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
@kirandeepchoudhry9232
@kirandeepchoudhry9232 5 жыл бұрын
Awesome way of explaining
@Officeinstructor
@Officeinstructor 5 жыл бұрын
Thank you
@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)
@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?
@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?
@donm1612
@donm1612 3 жыл бұрын
Very helpful. Thank you!
@Officeinstructor
@Officeinstructor 3 жыл бұрын
Glad it was helpful!
@Luciano_mp
@Luciano_mp 5 жыл бұрын
Amazing, very helpful. Thank you Nabil!
@Officeinstructor
@Officeinstructor 5 жыл бұрын
Thank you Luciano
@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
@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
@ShaibulHoqueMozumder
@ShaibulHoqueMozumder Жыл бұрын
How to change one or moreTabs name or worksheets name in upper Case by vba? my worksheets has 100 nos
@ShaibulHoqueMozumder
@ShaibulHoqueMozumder 3 жыл бұрын
Thank you sir from india
@nattroy891
@nattroy891 9 ай бұрын
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 8 ай бұрын
may be macros are disabled
@ShaibulHoqueMozumder
@ShaibulHoqueMozumder 3 жыл бұрын
Sir it is unable run in excel 2013 , what we have to do? Plz help
@maheshbhardwaj798
@maheshbhardwaj798 2 жыл бұрын
Amazing, you saved my lots of effort hurs.
@MohAboAbdo
@MohAboAbdo 3 жыл бұрын
Thank you so match, Sir.
@Officeinstructor
@Officeinstructor 3 жыл бұрын
Always welcome
@sherlock3293
@sherlock3293 Жыл бұрын
Thank you very much, Sir!
@shivaprasaderram8978
@shivaprasaderram8978 10 ай бұрын
Thank you so much this was helpful
@emgraves2310
@emgraves2310 2 жыл бұрын
Absolutely AMAZING! Thank you :)
@efiratcan
@efiratcan 3 жыл бұрын
THAT IS perfect... thanks a lot man.
@gmartinez101
@gmartinez101 4 жыл бұрын
Thank you for sharing this, i have been looking to use this function for a week. It works great
@verofficials
@verofficials 11 ай бұрын
Amazing video
@joaocalunga2016
@joaocalunga2016 5 жыл бұрын
Dear many thanks
@shajupaul5338
@shajupaul5338 5 жыл бұрын
Amazing work.
@Officeinstructor
@Officeinstructor 5 жыл бұрын
Thank you Shaju Paul
@rafaelty6285
@rafaelty6285 3 жыл бұрын
Amazing!
@Officeinstructor
@Officeinstructor 3 жыл бұрын
Thank you! Cheers!
@dbacker
@dbacker 4 жыл бұрын
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.
@karunakardev980
@karunakardev980 4 жыл бұрын
interesting and timesaving video thanks a lot.....
@Officeinstructor
@Officeinstructor 4 жыл бұрын
You are welcome
@c07072012c
@c07072012c Жыл бұрын
How can we make it so that it skips sheets with the name already taken and not give an error
@LindaWhite-jc9rg
@LindaWhite-jc9rg Жыл бұрын
Can you see me the code for this? Many thanks
@subratadutta4562
@subratadutta4562 5 жыл бұрын
Nice one
@mashukanam
@mashukanam Жыл бұрын
Thank you bro
@nguyenhoangphuc7555
@nguyenhoangphuc7555 2 жыл бұрын
thank for you
@Officeinstructor
@Officeinstructor 2 жыл бұрын
Thank you too
@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
@khemrajrana7322
@khemrajrana7322 5 жыл бұрын
Thanks sir for file & u r amazing sir
@Officeinstructor
@Officeinstructor 5 жыл бұрын
Thank you for the encouragement
@incognitootingocni4743
@incognitootingocni4743 3 жыл бұрын
Thanks so much!!!
@sandipmakwana6462
@sandipmakwana6462 4 жыл бұрын
Super and easy
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Thank you 🙂
@MrLeecavturbo
@MrLeecavturbo 4 жыл бұрын
i get an error if the cells contain anything other than letter text. i.e a date or number
@taizoondean689
@taizoondean689 4 ай бұрын
Thank you
@stevennye5075
@stevennye5075 5 жыл бұрын
well done!
@satishchaurasia84ya
@satishchaurasia84ya 5 жыл бұрын
Wow nice trick thanks allot
@Officeinstructor
@Officeinstructor 5 жыл бұрын
Glad you liked it
@syednabeelali4823
@syednabeelali4823 4 жыл бұрын
Excellent
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Thank you so much 😀
@christinacoleman1138
@christinacoleman1138 11 ай бұрын
It keeps throwing an error on "Sheet.Name = Cells(i, 1).Value"
@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
@sometrioeng2602
@sometrioeng2602 Жыл бұрын
it is great, sir
@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?
@chantallecompte5657
@chantallecompte5657 3 жыл бұрын
my first tab changed to 9176?? why?
@SanviPatil2019
@SanviPatil2019 3 жыл бұрын
Amazing
@vijaysahal4556
@vijaysahal4556 4 жыл бұрын
good 👍👍
@Officeinstructor
@Officeinstructor 4 жыл бұрын
Thanks
@suhailnbd
@suhailnbd 5 жыл бұрын
Very nyc
@Officeinstructor
@Officeinstructor 5 жыл бұрын
Thank you
@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.
@AhmedAbdalalim
@AhmedAbdalalim 4 жыл бұрын
Great
@KaelNL
@KaelNL 5 жыл бұрын
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 4 жыл бұрын
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
@karmen1061
@karmen1061 Жыл бұрын
Hi , would like to ask how to save can use this marco for everyday . ?
@sushmitashettigar
@sushmitashettigar 4 ай бұрын
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
@joaocalunga2016
@joaocalunga2016 5 жыл бұрын
Dear many thanks
@leomason15
@leomason15 Жыл бұрын
Amazing!
The Easy Way to Create Sheets from a List of Values in Excel
5:19
How To Excel
Рет қаралды 111 М.
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 21 МЛН
Каха и лужа  #непосредственнокаха
00:15
Excel Formula to List All Sheet Tab Names and include Hyperlinks
11:28
MyOnlineTrainingHub
Рет қаралды 110 М.
List All Your Sheets Efficiently in Excel (10 Levels)
29:48
Victor Chan
Рет қаралды 54 М.
7 Ways to Rename Sheets in Microsoft Excel
9:00
How To Excel
Рет қаралды 10 М.
Rename Sheet Based On Cell Value In Excel  -  VBA Code Included
5:22
Chester Tugwell
Рет қаралды 34 М.
List All Sheet Names In An Excel Workbook With & Without VBA
7:55
How To Excel
Рет қаралды 139 М.
Excel VBA - Add New Sheet and Rename
13:27
Ah Sing TV
Рет қаралды 9 М.
Automatically Update One Excel Worksheet from Another Sheet
10:10
Extract Data to Separate Sheets the Right Way!
8:34
MyOnlineTrainingHub
Рет қаралды 200 М.
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 21 МЛН