Results 1 to 3 of 3

Create sheets with specific color for TAB

Threaded View

sreeks Create sheets with specific... 03-28-2014, 01:50 PM
sreeks Re: Create sheets with... 03-28-2014, 02:11 PM
Olly Re: Create sheets with... 03-28-2014, 02:14 PM
  1. #1
    Registered User
    Join Date
    08-11-2010
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    58

    Create sheets with specific color for TAB

    Hi All,

    Kindly request you to have a look at the below and please advise.


    We have A,B,C,DE scenarios and we need to create 6 sheets for all the scenarios and a "Result" sheet in the spreadsheet:

    ATC1.....ATC6 - All A in Black colour
    BTC1.....BTC6 - All B in Yellow colour
    CTC1.....CTC6 - All C some Light Blue
    DETC1.......DETC6 - All D some Light Grey
    Results - This will be Green color

    I did a manual work around by recording a macro:
    Create Sheet
    Rename as ATC1
    Coloured sheet as mentioned above.
    Copy paste for each sheet name which will be around 25 times of the below code snippets but ofcourse change colour and change sheet names.

    
        Sheets.Add After:=ActiveSheet
        Sheets("Sheet1").Select
        Sheets("Sheet1").Name = "ATC1"
        Sheets("ATC1").Select
        With ActiveWorkbook.Sheets("ATC1").Tab
            .ThemeColor = xlThemeColorLight1
            .TintAndShade = 4.99893185216834E-02
        End With
    
        Sheets.Add After:=ActiveSheet
        Sheets("Sheet2").Select
        Sheets("Sheet2").Name = "CTC1"
        Sheets("CTC1").Select
        With ActiveWorkbook.Sheets("CTC1").Tab
            .Color = 255
            .TintAndShade = 0
        End With
    I am managing by doing the above, if there is an easy workaround, please advise.

    Best Regards,
    Sri
    Last edited by sreeks; 03-28-2014 at 02:12 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 17
    Last Post: 02-01-2013, 12:20 PM
  2. Replies: 0
    Last Post: 11-29-2012, 10:21 AM
  3. [SOLVED] Transfer Rows with specific color from Multiple Sheets onto one sheet
    By bukejr in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-19-2012, 09:49 AM
  4. Create New Sheets & Copy Specific Data To Each
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-11-2010, 05:45 PM
  5. Create a public constant that defines a specific RGB color
    By batman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-18-2007, 11:39 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1