【问题标题】:get conditional formatted color with vba in excel在excel中使用vba获取条件格式的颜色
【发布时间】:2018-05-05 06:44:40
【问题描述】:

工作: 一个 Excel 气泡图,带有不同大小和颜色的圆圈。

不工作: 我通过使用 vba 读取颜色值来获得颜色,但是 Interior.Color 无法识别通过条件格式设置的颜色。

有问题的代码:

Range("Z" & Application.WorksheetFunction.Match(srs.Name, Sheets("Diagrammdaten").Range("a:a"), 0)).Interior.Color

我在与Interior.Color 不同的选择器上找不到任何东西,但在 excel 中肯定必须有类似 Displayed.Color 的东西?

感谢您的帮助。

【问题讨论】:

  • DisplayFormat.Interior.Color

标签: excel bubble-chart vba


【解决方案1】:

你可以使用:

DisplayFormat.Interior.Color

获取单元格颜色。其他CF属性也可以通过DisplayFormat访问

【讨论】:

    猜你喜欢
    • 2020-06-01
    • 1970-01-01
    • 1970-01-01
    • 2017-07-20
    • 2014-11-12
    • 2010-11-03
    • 2012-04-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多