LoginSignup
7
6

More than 5 years have passed since last update.

条件付き書式で変わったセルの背景色をマクロで取得する

Posted at

Excelの条件付き書式で変わったセルの背景色を取得したかったので調べたメモ。
以下の方法でできました。
※動作環境:Win8.1, Excel2016 (Office365)

Range("A1").DisplayFormat.Interior.Color

未確認ですけど文字色とかも取得できると思います。

7
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
6