Don't let the title throw you off. I'm not looking to create any sort of externally sourced database (E.G. Access), instead I'm looking to store some information directly in Excel in a database-style environment.
I have a time-sheet that I created for work to keep track of my hours and jobs (per company policy). I'm handling it on a weekly basis: Monday - Saturday, and each week is stored as a new tab. I noticed that the size of the file got decently large after a couple months so I went into my code which was stored per worksheet and reduced it to a couple calls from ThisWorkbook vs having each procedure stored within every worksheet (which was created and duplicated every week). Beyond that, every new worksheet has several named ranges which are copied from the previous week. Now I'm up to 20+ tabs which in the grand scheme of things isn't crazy, and to be honest, 2 years from now won't be insane, but I'd still like to make my code more efficient and compact (for the sake of minimization).
Time_Ticket.xlsm
I've attached my workbook and what I'm thinking (though I'm not sure how to handle) is to have 1 tab which queries and saves information to a separate tab (can be hidden). I understand Excel isn't the best program to do this with, but it's for work and not everyone has Access. So I could have (as I already do) a new week, clear week, and delete week button, and then a select week button which would pull up a userform of sorts where one could choose the week they would like to reference back to. The referential source would be all input information saved to a separate sheet when someone clicks new week or something.
Also keep in mind that this sheet is filled in, printed off, and cut up to be turned in on a daily basis (not by my choice - I'd prefer an all electronic system).
Thanks for any input!
Bookmarks