Top Object Example

Sub CreateTopPercentCondition() Dim oFormatCondition As Top10

'Add a new Formatting rule

Set oFormatCondition = Range("F5:F22").



'Highlight all values that make up the Top

20% of the total


With oFormatCondition

.TopBottom = xlToplOTop

.Rank = 20

.Percent = True

.Font.Bold = True

.Interior.Color = 7039480

End With

End Sub

Was this article helpful?

0 0
The Accidental Blogging Millionaires

The Accidental Blogging Millionaires

Get Inspired By The Most Popular Bloggers Online! If You Want To Skyrocket Your Success With Business And Improve Your Overall Life You Need To Have A Look At The Accidental Blogging Millionaires! Business can be a fight, particularly when you’re trying to establish one online and like all fights, to succeed you must find the winning techniques and apply them.

Get My Free Ebook

Post a comment