UiPath Documentation
activities
latest
false
生産性を高めるアクティビティ
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

セルを書式設定

[セルを書式設定] アクティビティ。指定した範囲にあるすべてのセルの形式を Excel で設定します。

UiPath.Excel.Activities.Business.FormatRangeX

説明​

Sets the format for all the cells in a specified range. You can format the data type, alignment, font, fill color, and borders of the cells. The activity can be used with an Excel file selected for a parent Use Excel File activity or with the Project Notebook.

このアクティビティの使い方については、「 チュートリアル: Web ページから表データを抽出し、Excel で編集する」をご覧ください。

アクティビティの構成​

デザイナー パネル​

  • ソース - フィールドの右側にある プラス 記号 を選択し、メニューから、ファイルを選択し、次に書式設定するシート、表、または範囲を選択します。または、[ Excel 内で示す ] を選択して、ファイルから直接範囲を指定します。または、[ カスタム入力 ] を選択してシート名、表の名前、範囲を手動で入力するか、[ 詳細エディターを開く ] を選択して VB の式を入力します。
  • Format data as type - Select Set Format to open the Format cells window and then select what to format in the cells using the options at the top: Data Type (number format), Alignment (horizontal, vertical, wrap text), Font (font, font style, underline style, font size, color), Fill (color), or Border (edges, line style, color). Depending on your selection, other options may appear for additional configuration.

プロパティ パネル​

共通​
  • 表示名 - デザイナー パネルに表示されるアクティビティの名前です。
入力​
  • 「アクティビティの本体」の「ソース」をご覧ください。
その他​
  • プライベート - オンにした場合、変数および引数の値が Verbose レベルでログに出力されなくなります。

備考​

  • Border applies to the Top, Bottom, Left, Right, Inside horizontal, and Inside vertical edges, or to the Outline and All presets. The available line styles are None, Thin, Medium, Thick, Dashed, Dotted, Double, and Hair. Borders that you don't set are left unchanged, and None removes the border from the selected edges. Diagonal borders are not supported.
  • If Excel leaves the cells in the General format after a custom number format is applied, the activity fails with an error that names the format and the range.
  • In XAML, the FontOptions, AlignmentOptions, and BorderOptions types are in the UiPath.Excel namespace of the UiPath.Excel assembly. These types require the namespace declaration xmlns:ue="clr-namespace:UiPath.Excel;assembly=UiPath.Excel".
  • 説明​
  • アクティビティの構成​
  • デザイナー パネル​
  • プロパティ パネル​
  • 備考​

このページは役に立ちましたか?

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得