Leading the way in Microsoft Office Development
 Home|Excel|Word|PowerPoint|Consultancy|Feedback|Contact 
 Microsoft Excel > Functions User Defined > COLOURINDEX< Previous | Next > 

 

COLOURINDEX() As Boolean

 
 

Returns the colour index for a particular cell.

 

 
rgeCellThe cell you want to check.
 

 

REMARKS

 
 
  • ??

     

     
    1
    2
    3
    4
    5
    Option Explicit

    Public Function COLOURINDEX(ByVal rgeCell As Range) As Integer
       COLOURINDEX = rgeCell.Interior.ColorIndex
    End Function
       

     

    Example

     


     Copyright © 2004-2007 Better Solutions Limited. All Rights Reserved.< Previous | Top | Next >