はじめてのオートメーションをわずか数分で作成できます。Studio Web を試す →
作成者: Praful B
0
スニペット
<100
要約
要約
Calculate the Sum of Excel colored cells in any given range
概要
概要
Using VBA, this snippet helps you calculate sums between any colored Excel cells within a given range.
Note: This function does not cover the case when only the text is marked with other font colors.
Please check the below screenshot illustrating the case when the sum of Green highlighted cells from the given data range needs to be calculated.
How it works:
Fill in manually the color in the data range. You can also use conditional formatting.
Select a reference cell. This needs to be highlighted in the color you are interested in. E.g. green
Access UiPath Studio.
In Invoke VBA activity type in the necessary Arguments values.
Arguments Details:
Once all the required values have been updated in the necessary Arguments fields you are ready to run the Bot.
Please make sure that before you run this snippet, you enable the Excel Trust Access to the VBA project object model. Otherwise, an error will be displayed.
This snippet can be used to run for more than one color. Simply copy and add in the invoke VBA the number of times and the number of colors. Change the color cell info and the Sumresult Value.
機能
機能
Used to sum color cells based on color given in Reference cell It works even if we color the cells in the given range using conditional formatting Does not require macro enabled Excel file (.xlsm extension file)
その他の情報
その他の情報
依存関係
Excel, UiPath 2019.10
コード言語
Visual Basic
ライセンス契約とプライバシー条項
MIT
プライバシー条項
技術情報
バージョン
1.0.1更新日
2020年4月21日対応製品
Studio: 19.10 - 22.10
認定
シルバー 認定済み
サポート
UiPath コミュニティ サポート