All,
I'm having some difficulties with formatting of a cell.
I am trying to color the cell, and change the font based on some simple if statements within the function.
Here's some of the code (Simplified) that I am trying to get to work:
Function TAM_RAG(ClientExperience, JPPerformance, Green, Amber, RMin, RMaj, Indicator)
Dim cl As Range
TAM_RAG = ClientExperience
With Selection.Interior
.ColorIndex = 10
.Pattern = xlSolid
End With
End Function
I think I may have the syntax wrong but cant have tried many other ways.
Any help would be greatly appreciated.
Thanks
Bookmarks