Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I could I do the following via code:-
1) Create a blank sheet to the very right of existing worksheets in a file, these will change e.g by adding blank sheets etc 2) Copy the contents of the entire sheet to the 'left' to this new sheet 2) Rename this blank sheet with text "Loc # 5" the number I have here is variable, so to work out what number to use you could add the number of existing sheets and subtract 2. What I mean by this is my 3rd sheet is named "Loc # 1", 4th sheet is named "Loc # 2" 3) Change the tab colour on the sheet based on the sheet numbers 'number'. Odd numbers would be coloured blue and even numbered sheets yellow. What I mean here, eg. my 3rd sheet which is named 'Loc # 1" has a blue colour tab etc Hope the above makes sense, I can do it all manually but looking to automate the task Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Create new workbook and new worksheet and close. Worksheet not sav | Excel Worksheet Functions | |||
Can I create a worksheet menu to select each other worksheet | Excel Discussion (Misc queries) | |||
Auto Close A Workbook...With Two Twists! | Excel Programming | |||
Auto Close A Workbook...With Two Twists! | Excel Programming | |||
Auto Close A Workbook...With Two Twists! | Excel Programming |