Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have a worksheet with 30 worksheets. I would like to color each tab a different color for reference purposes. I can't figure out how to wright a macro to select a sheet and then select a tab color. This is my macro to select each worksheet. How can it be modified to select each color also? Sub WorkSheetsTabColor() 'Tab Color every other worksheet 'Define Variables Dim i As Integer 'Sreen does not flash (Turn Screen Updating "OFF") Application.ScreenUpdating = False 'Changes Tab Color every other worksheet 2-count For i = 1 To Worksheets.Count Worksheets(i).Tab.ColorIndex = 44 'Yellow i = i + 1 Next i 'Turn Screen Updating "ON" Application.ScreenUpdating = True End Sub Thank you for your help, jfcby |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calendar change month from multiple sheets to one sheet, Excel 2000 & 2003 | Excel Programming | |||
Excel 2000 = upgraded to 2003 and macro to change font color fail | Excel Programming | |||
2nd try --Macro to transfer data in an Excel sheet (2000) in Access 2000 ( code to replace what wizard do) | Excel Programming | |||
Enable filter to work in a protected sheet from Excel 2003 to 2000 | Excel Programming | |||
Office 2000 excell sheet gives error message for cell color in of. | Excel Worksheet Functions |