logo
  • 教程列表
  • SO官方文檔
  • 使用 VBA 進行條件格式化
    • FormatConditions.Add
    • 刪除條件格式
    • FormatConditions.AddUniqueValues
    • FormatConditions.AddTop10
    • FormatConditions.AddAboveAverage
    • FormatConditions.AddIconSetCondition
  1. StackOverflow 文件
  2. excel-vba 教程
  3. 使用 VBA 進行條件格式化
  4. FormatConditions.AddTop10

FormatConditions.AddTop10

Created: November-22, 2018

突出顯示前 5 個值

With Range("E1:E100").FormatConditions.AddTop10
    .TopBottom = xlTop10Top
    .Rank = 5
    .Percent = False
    With .Font
        .Bold = True
        .ColorIndex = 3
    End With
End With
  • FormatConditions.AddAboveAverage
  • FormatConditions.AddUniqueValues

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明