Страницы: 1
RSS
Вопрос по Color Index
 
Здравствуйте.  
Среди приемов описана функция Color Index,    
 
Public Function ColorIndex(Cell As Range)  
   ColorIndex = Cell.Interior.ColorIndex  
End Function  
 
однако она не работает при условном форматировании ячеек.    
 
Есть ли способ настроить функцию в том числе на заливки при условном форматировании?
 
http://www.bettersolutions.com/excel/EPX299/LI041931911.htm
 
The only way to determine the type of formatting applied is to analyse the Conditional Formatting directly.  
 
Dim objFormatConditions As FormatConditions  
 
objFormatConditions(1).Interior.ColorIndex  
objFormatConditions(1).Font.ColorIndex "  
 
Помогите встроить в функцию...
Страницы: 1
Читают тему
Наверх