LoginSignup
1
1

More than 5 years have passed since last update.

【BluePrism】Excelシートにセル着色する

Posted at

概要

Excelシートのセルを着色するVBOがなかったので自作しました。(あったらすみませんw)

方法

Format Cellをコピー元として「セル着色」ページを作ります。
以下、手順は画像の通りです。

image.png

入力パラメータ
image.png

変数

変数Red_Value, Green_Value, Blue_ValueはNumber型の変数とします。
image.png

ソースコード
image.png

GetWorkbook(handle,Nothing).ActiveSheet.Range(cellref,cellref).Interior.Color = RGB(Red_Value, Green_Value, Blue_Value)

使い方

アクションステージにて、

  • ビジネスオブジェクト:MS Excel VBO - extend(←自作した拡張用VBO)
  • アクション:セル着色

入力パラメータにセル位置とRGBを設定します。

image.png

1
1
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
1
1