VBA to Delete all Sheets except Specific Sheet - Excel VBA Tutorial
HTML-код
- Опубликовано: 6 мар 2020
- This VBA Tutorial explains how to delete all worksheets except specific sheets using vba code. In Excel VBA, we can automate to delete multiple sheets using VBA Programming.
Sir,
I am your fan
U solved my biggest prob in excel
Thank you very much for this great video.
appreciate!
Thank You for your Support by this Video
This Video Very Useful because after watching video I solved my query
Great 👍
awesome, thanks
Hi. Thanks for the help. I'd appreciate if you could help me with this: I have a bunch of excel files. I want to combine these files, rename the first sheet same as the file name, delete the subsequent 2 sheets opened automatically (sheet 2, and 3). Is it possible to do this on VBA? If yes can you help with the code? Thanks.
Good program...
How can we run this code automatically when we close the workbook
Sir i need your urgent help. I am working on a inventory project which is macro enabled with 11 worksheets. I have to save as a specific sheet that is invoice template to another workbook as excel file(.xlsx) . after save as the workbook should contain only Invoice Template worksheet. And after all the process my Inventory Template from original Inventory project workbook should be open.
for any urgent project, you can write to exceldestination@gmail.com
vba code to remove duplicate values in multiple sheets in single excel workbook?
Hello Sir,
Agar muje ek specific column every sheets me se delete karni ho to is it possible? Suppose meri 100 Sheets he usme se muje C column delete karna he simultenously to is it possible?
It would be great if you include the practice file too
you can send me email at exceldestination@gmail.com , I will send you the file. This code is very short. you can pause and note down. This will enable you to practice also.
Can you code for deleting all sheets except for 2 specific sheets? Thanks.
You can just add one more condition and same code can be used like. If worksheets(I).name "abc" and worksheets(i).name "xyx". something like this.
Thanks a lot. It’s very useful.
@@ExcelDestination Thanks
Sir can we use the same for 5 sheets. I mean I want to keep 5 sheets and delete rest of sheets
Below you mentioned it is not working if we want to keep more than 1 sheet. Could you please write a code.that would help.
First, Thank you sir for this. But I have a question. What if there are two specific sheet that I dont want to delete. How can I do that. Thank you. more power!
i also want this answer, sir please reply
Ye to sahi he par muje specific time or days ke bad automatic delit kar na he to kya jare
Sir aise hi multi sheets ke sheet nhi row delete ho pleases