So basically, I have a sheet named Form that the user puts data in and then a button to automatically add the data in a new sheet named Data. In the Data worksheet I have a table and the last column is named Week. I have made a formula to state the Week number starting from Monday. For example, I log in first entry on 11-28-2015 and it is considered week 1. If I log in entry the next day 11-29-2015 it is going to be week 1 again, but if I log in entry on 11-30-2015 it is going to be Monday and it is going to say Week 2.
And then I need a macro that is going to automatically make sheets named "Week #" and add all the data in the worksheet from that Week. And then I want the sheets hidden and I am going to add a button how to hide/unhide them. (I know how to do that)
Basically, I need a sheet for every week.
I tried something but I kept getting an error because I have duplicates in week numbers so the system was trying to make worksheet "Week 1" and then for the next entry again "Week 1".
I am new to excel and know little about VB.
Data worksheet week numbering starts from G4 and keeps going down.
Bookmarks