Below I have added a code that I have had loads of help producing and would like to share with the forum.
I have an excel workbook that is filled out once a week, the front sheet is filled out with the information required and I have a command button 'Update' that is clicked and th relevant information is taken from th front sheet and updated on the rest of the sheets in the workbook, this is then attached to graphs enabling to view trends.
I need to keep the front sheet as evidence and so I have a second command button 'Archive' this is clicked, select yes from the box, enter the file name (I use week commencing date) in the box and enter. the front sheet is now Archived in the same folder as the original workbook. On closeing the file select yes when asked if you wish to save changes. This is then ready to fill in next time. I can provide the workbook if somone once to have a look at it working.
A couple of questions
1. Can I strip the command buttons from the front sheet in the archive file, if so could someone help with a code.
2. Can the archived files be auto protected against anyone trying to make changes, again if so, could someone help and provide code to achieve this.
3. How can set the graphs so they update throughout the year, I don't really want to select the 'source data' area for a whole year because the info is so small untill you have been filling it out for a few months but also editing the 'source data' every week is a pain.
Thankyou for any help to achieve this so far,
Best regards,
Andy.
Bookmarks