Get single cell action

The Get single cell action in the Excel advanced package enables you to retrieve the values from a single cell in a Microsoft Excel spreadsheet or a CSV file and store them in a string variable.

Settings

この action は、セル値を文字列データ タイプとして取得します。数値、パーセント、通貨、指数、日付などの Excel セル形式をサポートしています。たとえば、[通貨] 表示形式のセルから値がテーブル変数またはレコード変数に渡された場合、通貨記号は保持されます。
Note: 非文字列演算を実行するには、値を変換する必要があります。
  • Select the Active cell option to retrieve the value from the active cell, or select Specific cell to retrieve the value from a specific cell in a Microsoft Excel spreadsheet.
  • Choose from the Read option to read either the visible text or value of the cell.
    For example, if the cell has 70% as cell content, Read cell value option will read the value as 70 ignoring the % format whereas Read visible text option will read the content as 70%.
    Note: When creating automations on the macOS platform, the Read cell value option returns a value with a maximum of 12 decimal places.
    Recommendation: Use the Read cell value option as the reading value from a cell for a better performance than reading visible text.
  • [開く] action でブックを開く際に使用したセッション名を入力します。
  • Select a string variable to store the retrieved values in the Store cell contents to list. Control Room に、内容が分かるようなデフォルト変数名が表示されます。複数の出力変数を作成すると、重複を避けるために、後続の変数名に -1-2-3 などが追加されます。
Note: If the character limit in a single cell of a Microsoft Excel spreadsheet exceeds 8200, then the bot reads only the first 8200 characters. This behaviour is specific only to Microsoft Excel spreadsheet.

条件付きステートメントの使用例

.