LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Sheet Tab Color, Excel 2000 & 2003

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calendar change month from multiple sheets to one sheet, Excel 2000 & 2003 jfcby[_2_] Excel Programming 0 December 6th 06 06:17 PM
Excel 2000 = upgraded to 2003 and macro to change font color fail Donna Excel Programming 4 October 4th 05 10:25 PM
2nd try --Macro to transfer data in an Excel sheet (2000) in Access 2000 ( code to replace what wizard do) André Lavoie Excel Programming 0 September 27th 05 01:50 PM
Enable filter to work in a protected sheet from Excel 2003 to 2000 Metallo[_3_] Excel Programming 2 November 26th 04 03:58 PM
Office 2000 excell sheet gives error message for cell color in of. Optymo Excel Worksheet Functions 1 November 18th 04 07:58 PM


All times are GMT +1. The time now is 02:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"