My wife has given me another project. I need to add 207 additional sheets with school names to the attached file. Is there a way to do that with out have to copy and paste each sheet?
My wife has given me another project. I need to add 207 additional sheets with school names to the attached file. Is there a way to do that with out have to copy and paste each sheet?
Where is the list of 207 schools names?
Teach me Excel VBA
Whoa, whoa!
Why would you want to do that? Whenever you feel the need to create sheets to differentiate between things like weeks, months, departments, staff names, product, schools...etc. then you should ask yourself why and what the overall object is.
For any serious application and if you want to be able to analyse or summarise data you should always keep data in a single normalised two dimensional table of column field headers and unique row records. In your case a sheet that contains columns for
Start Date
End Date
School Reference *
Threat Reference '* values here would be 1, 1.5, 2...etc,
Baker Acted
Value/Mark or whatever goes in each current threat column
Optionally you could have a column for the threat description which would contain a formula to lookup the threat ref
I really would urge you to reconsider your layout. You are just storing up difficulties otherwise.
The * values could be Validation drop down cells from which you could pick values. The way I normally arrange these things is to have a single data entry row above the database in which the new values are entered, then a button which runs a macro that adds the new record to the database.
You'd then have the powerful Pivot Table functionality available to you as well as all the standard data functions
Last edited by Richard Buttrey; 01-30-2017 at 12:01 PM.
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star iconbelow the post.
Paste this code into a routine module within your workbook:
Follow instructions on MASTER LIST tab.![]()
Please Login or Register to view this content.
.
Wskip49 here is an updated version of the workbook. Allot simpler for you and your wife :
![]()
Please Login or Register to view this content.
instead of maintain data in different different sheet. Suggest to maintain data in one sheet with (add column) school name.
atul
If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.
Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks