Solved

Need a macro that will clear contents in all tabs of workbook

Posted on 2007-11-29
3
200 Views
Last Modified: 2013-11-25
I have a workbook that has over 200 tabs.  I need an easy way to delete everything in the tabs.
0
Comment
Question by:gordon12393
  • 2
3 Comments
 
LVL 59

Accepted Solution

by:
Saurabh Singh Teotia earned 500 total points
ID: 20377834
Well the easiest way that i can tell u is without a macro..and its gonna take one minute only...

Go to any sheet and select that...then where u right name..go there select that...and then right click of mouse and select all sheets...this will automatically select all sheets...

After that u can do Ctrl+a and delete...or just mouse complete delete upto u...

Its a peace of a cake..
0
 
LVL 59

Expert Comment

by:Saurabh Singh Teotia
ID: 20377852
Nd if u want u can record a macro of it while doing it..so next times macro does it for u..and u will automatically will have all the sheet names...
0
 

Author Closing Comment

by:gordon12393
ID: 31411815
Thank you, this worked. I was making it harder than it was :)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now