Hi again,
There was a syntax error. I tested the following and it works fine. Need to
specify range for the named range.
Sub NLFI_TopTenPercent()
Range("A1:A1000").Select
Selection.Name = "TopTenPercent_Range"
For Each Cell In Range("TopTenPercent_Range")
If (Cell.Value >=
WorksheetFunction.Percentile(Range("TopTenPercent_Range"), 0.9)) Then
Cell.Interior.Color = vbYellow
End If
Next Cell
End Sub

Signature
Regards,
OssieMac
> OssieMac -
> Thank you very much for your reply. I tried it and got the following error:
>
> "Method 'Percentile' of object 'WorksheetFunction' failed"
>
> Any ideas?
G.R. - 01 Mar 2008 21:34 GMT
OssieMac,
Brilliant! Worked perfectly. Thank you again for your time and attention.
I'm very grateful.