メインコンテンツへスキップ

テキスト透かしを追加する Excel で Power Automate

PDF4me テキスト透かしを追加する Excel は Power Automate 「機密」、「下書き」、または任意のカスタムテキストラベルをスタンプするアクション Excel ワークシートをワードアートオブジェクトとして使用できます。機密性の高い財務データに印を付けたり、予算案にフラグを付けたり、エクスポートしたレポートに著作権表示を追加したりする際に、サイズ、色、回転、位置を完全に制御できます。

関連ブログ記事
この機能に関するブログ記事はまだありません。近日公開予定です。
その間、PDF4me ブログを閲覧して、あらゆるプラットフォームのチュートリアルやワークフローをご覧ください。
ブログをご覧ください →

このアクションが何をするか

PDF4me - テキスト透かしを追加 Excel カスタマイズ可能なテキストラベル(機密、下書き、承認済み、著作権表示、または任意の文字列)を直接スタンプします。 Excel ワークシートをワードアートオブジェクトとして扱います。テキスト、サイズプリセット(50pt、150pt)、色、フォント、太字/斜体スタイル、透明度、回転角度、および9つのグリッド位置のいずれかを制御できます。すべてのワークシートに適用するか、名前またはインデックスで特定のシートを対象にすることができます。このアクションは任意のワークシート内で実行されます。 Power Automate クラウドフローで透かし入りの Excel バイナリとして保存準備完了 SharePoint、 OneDriveDropbox、またはメール。

認証方法 Power Automate 流れ?​

毎 PDF4me アクション Power Automate 必要とする 繋がり あなたの API キー。アクションを初めて追加する際に、キーを作成または選択します。

見逃してはならない重要な事実​

ワードアート - ヘッダー/フッターではありません

透かしは、ワークシートの描画レイヤーにワードアート図形として埋め込まれています。シートビューと印刷出力の両方で表示されますが、 Excel印刷時にのみ表示される、ネイティブのヘッダー/フッターテキスト。

ワークシートレベルのターゲティング

ワークシートセレクターを空欄にすると、ワークブック全体に透かしが入ります。シート名または0ベースのインデックスを指定すると、特定のタブのみを対象にできます。これは、ワークブックに公開サマリーシートと制限付きデータシートが混在している場合に便利です。

シートごとのバリエーションを実現するために、複数のアクションを連結する。

1 つのアクションで 1 つの透かしスタイルが適用されます。異なるシートに異なるテキストをスタンプするには、2 つ以上のテキスト透かしを追加して連結します。 Excel 最終ファイルを保存する前に、それぞれ異なるシートを対象とした一連の操作を順番に実行します。

Power Automate の Excel にテキスト透かしを追加するアクションで、SharePoint からファイルコンテンツを取得し、透かしテキストを CONFIDENTIAL、テキストサイズを 3、テキストカラーを #FF0000、位置を 4 に設定します。

地図 ファイルの内容 ストレージステップから、 透かし文字サイズ、色、位置を選択してください。

パラメータ​

必須: ファイルの内容、 ファイル名、 そして 透かし文字その他のパラメータには適切なデフォルト値が設定されています。ワークシートのインデックスは 0ベース 番号付け(インデックス0=最初のシート)。

パラメータ必須その機能例
File ContentOptionalContent of the Excel file to process. Map it from the file content returned by a previous action, such as SharePoint or OneDrive Get file content.@{body('Get_file_content')?['$content']}
File NameOptionalName of the Excel file, including its extension (for example `report.xlsx`). Map it from the file name returned by a previous action. Defaults to `AddWatermark.xlsx`.report.xlsx
Watermark TextOptionalText content for the watermark.your value
Font FamilyOptionalFont family for the watermark text. Defaults to `Arial`.Arial
Text SizeOptionalText size (1=Small, 2=Medium, 3=Large, 4=Extra Large). Options: 1, 2, 3, 4. Defaults to `2`.2
Bold TextOptionalMake watermark text bold. Defaults to `Yes`.Yes
Italic TextOptionalMake watermark text italic. Defaults to `No`.No
Text ColorOptionalColor for watermark text (hex code or color name). Defaults to `#808080`.#808080
Transparency LevelOptionalTransparency level of the watermark, from 0 to 100. The connector describes 0 as fully transparent. Defaults to `50`.50
Rotation AngleOptionalRotation angle in degrees (-180 to 180). Defaults to `-45`.-45
Worksheet Names ListOptionalNames of the worksheets to add the watermark to.your value
Worksheet Index ListOptionalPositions of the worksheets to add the watermark to.your value

出力フィールド​

分野タイプ内容物
Watermarked File ContentFile contentContent of the Excel file with the watermark added. Map it into the next action, for example the File Content field of SharePoint or OneDrive Create file.
SuccessYes/NoWhether the operation completed successfully
Error MessageTextError message if operation failed
Error DetailsArrayList of detailed error messages

テキスト透かしを追加するにはどうすればいいですか? Power Automate?​

  1. フローでクリックします + 新しいステップ → 検索 PDF4me →選択 テキスト透かしを追加する Excel。
  2. 接続する 使用 PDF4me API キー(または既存の接続を選択)。
  3. 地図 ファイルの内容 ストレージ手順から(SharePoint ファイルの内容を取得する、 OneDrive ファイルの内容を取得する(またはDropbox相当のサービス)。
  4. セット ファイル名 へ .xlsx ファイル名(動的または静的)。
  5. 入力 透かし文字 - 例 CONFIDENTIAL、 DRAFT、 または © 2025 Acme Corp。
  6. 調整する テキストサイズ、 テキストの色、 透明性、 回転角度、 そして 位置 貴社のブランドイメージに合わせるため。
  7. (オプション)入力する 選択されたワークシート名 または 選択されたワークシートのインデックス 特定のシートのみを対象とする。
  8. 追加する ファイルを作成する または 更新ファイル このステップの後のアクションとマップ 書類 保存するファイルの内容として出力します。

ワークフローの例​

フローの例Common Power Automate scenarios that use Add Text Watermark to Excel for security marking, draft management, and compliance.
財務報告書は配布前に機密扱いと明記してください。
  1. 新しいレポートが到着すると、月末にスケジュールされたフローが実行されます。 SharePoint 図書館。
  2. ファイルの内容を取得する 取得する Excel ワークブック。
  3. テキスト透かしを追加する Excel 「機密」切手 - 文字サイズ 4、色 #CC0000、回転 -45、透明度 40、全シート。
  4. ファイルを作成する 透かし入りのコピーを制限付きで保存します SharePoint フォルダ。
  5. A Outlook このステップでは、ダウンロードリンクを承認された受信者のみにメールで送信します。
承認ワークフロー - 下書きから承認済み透かしまで
  1. 予算スプレッドシートは、Power Appsフォームを介して審査のために提出されます。
  2. このフローでは、灰色の斜めの「DRAFT」透かし(透明度60、回転-45)を追加し、レビュー担当者にメールを送信します。
  3. 承認されると、2番目のフロー分岐が実行されます テキスト透かしを追加する Excel 再び「承認済み」と緑色で表示されます(色番号008000、透明度40)。
  4. 承認されたファイルは、 SharePoint そしてTeams通知がトリガーされます。
外部データエクスポート時の著作権透かし
  1. 自動化されたフローは、データベースから月次分析データをエクスポートします。 Excel。
  2. テキスト透かしを追加する Excel 「データ」シートと「チャート」シートのみに、右下(位置8)に「© 2025 Acme Corp - Internal Use Only」という小さな文字(サイズ1)のスタンプを押します。
  3. 選択されたワークシート名 表紙がきれいなままになるように、["データ","チャート"] に設定されています。
  4. 透かし入りのワークブックがクライアントにアップロードされます SharePoint ポータル経由でリンクが送信されます Outlook。

実践的なヒント​

WordArt renders on-screen, not just on print
Unlike Excel's native header/footer text, this watermark is a WordArt shape in the drawing layer, so it is visible immediately in the sheet view, not only in the print preview.
Keep Transparency in the 40-60 range
A Transparency of 0 renders a fully solid watermark that can obscure dense cell data. 40-60 keeps the label readable without hiding numbers underneath.
One action, one style
A single call applies one Watermark Text, color, and rotation to its target sheets. Chain multiple actions in sequence to vary the label per worksheet.
Worksheet Names and Indexes combine, not replace
If you set both Selected Worksheet Names and Selected Worksheet Indexes, the action watermarks the union of both lists.
Branch on Success before continuing
Add a Condition on Success after this action so a failed run does not pass a partially watermarked workbook further down the flow.

チートシート​

分野価値
ActionExcel - Add Text Watermark
Required fieldsFile Content, File Name, Watermark Text
Style fieldsText Size (1-4), Text Color, Font Family, Is Bold, Is Italic, Transparency, Rotation Angle, Position (0-8 grid)
Targeting fieldsSelected Worksheet Names, Selected Worksheet Indexes (0-based, combine not replace)
OutputProcessed File Content + Success + Error Message + Error Details

よくある質問​

Does the text watermark appear when the Excel file is printed?+
Yes. The watermark is embedded as a WordArt shape in the worksheet drawing layer, so it appears both on-screen and in printed output. Setting Transparency to 40-60 keeps the watermark visible without obscuring the underlying cell data in print. See Microsoft's guide to <a href="https://support.microsoft.com/en-us/office/add-a-watermark-in-excel-a372182a-d733-484e-825c-18ddf3edf009" target="_blank" rel="noopener noreferrer">adding a watermark in Excel</a> for how the native WordArt approach compares.
Can I apply different watermarks to different worksheets in one action?+
A single action applies one watermark configuration. To stamp different text or styles per sheet - for example, "CONFIDENTIAL" on the data tab and "DRAFT" on the summary tab - chain two Add Text Watermark to Excel actions in sequence. Each action receives the output of the previous one as its File Content and targets different worksheet names or indexes.
Which Excel file formats does this action support?+
The action accepts .xlsx and .xls Excel workbooks. Macro-enabled .xlsm files are not supported. The output file is always returned as an .xlsx workbook regardless of the input format, so existing macros in .xlsm files should not be processed through this action.
What happens if I enter an invalid color code?+
If Text Color is not a recognized hex code (e.g. #FF0000) or a standard color name (Red, Blue, Black, Gray), the action falls back to black. Always run a test flow execution first and open the output file to confirm the watermark color renders correctly before scheduling the flow for production use.
Can I watermark only specific worksheets by name?+
Yes. Populate Selected Worksheet Names with an array of exact, case-sensitive tab names such as ["Sheet1","Summary"]. Alternatively, use Selected Worksheet Indexes with 0-based positions like [0, 2]. Leave both fields empty to watermark every sheet in the workbook. See <a href="https://www.ablebits.com/office-addins-blog/watermark-in-excel/" target="_blank" rel="noopener noreferrer">Ablebits' guide to watermarks in Excel</a> for common labeling conventions like DRAFT and CONFIDENTIAL.

関連アクション​

他のプラットフォームでの同じタスク​

ヘルプが必要な場合​