Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a folder called month. It contains 20 workbooks which contain
32 sheets (all have the same structure). The filenames are in the format of nameA_Month_Year I would like vba code to - open every workbook automatically - unprotect the first sheet of each workbook - have an input box that allows me to enter the first 3 letters of the new month I wish to update to (eg. "Jul") - the month that was entered is placed into cell S1 of the first sheet of every workbook - have an input box that allows me to enter the last 2 digits of the year I wish to update to (eg. "08") - the year that was entered is placed into cell T1 of the first sheet of every workbook - reprotect the first sheet of each workbook using the same password as to unprotect. - override the orginal names of each workbook to update them to include the month and year that was entered. The end result would be nameA_Jul_08 which would override nameA_Month_Year file. The password for the 1st sheet is "top". All subsequent sheets are linked to sheet 1 and do not need to be modified. Thank you Bob |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to change date accepting format to day-month-year | Excel Discussion (Misc queries) | |||
HOW DO I COPY AND RENAME A WORKBOOK LINKED TO OTHER WORKBOOKS | Excel Discussion (Misc queries) | |||
Tell me which "season" (Month/Day through Month/Day) a date(Month/Day/Year) falls in (any year)??? | Excel Discussion (Misc queries) | |||
I need an excel sheet to creating a new folder every month, and save a new spreadsheet every day, untill the next month, when it creates a new folder | Excel Programming | |||
How do you change the year but not the month automatically? | Excel Discussion (Misc queries) |