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

テキストヘッダーフッターを追加する Excel 使用 Zapier

PDF4me テキストヘッダーとフッターを追加 は Zapier ブランド化されたヘッダーとフッターのテキストを書き込むアクション Excel ワークシートを自動的に作成します。ヘッダーとフッターの左、中央、右セクションにタイトル、ページ参照、免責事項、会社名などを追加するために使用します。セクションごとに色とフォントサイズを個別に設定できます。新しい Excel 次のZapステップ用のファイル。

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

取る Excel 前の Zap ステップからワークブックを取得し、6 つのヘッダー/フッターセクション (各セクションの左、中央、右) にテキストを書き込みます。各セクションには、それぞれ独自の色とフォントサイズが設定されています。名前またはインデックスで特定のワークシートに適用するか、両方のフィールドを空のままにして、ワークブック内のすべてのシートに同じヘッダーとフッターを適用します。ワークフローから自動的に出力されるレポートのブランディング、ページタイトル、機密保持に関する通知、または生成日などに役立ちます。

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

認証 API リクエスト​

アクセスするには PDF4me ウェブ API を通して Zapierすべてのリクエストには適切な認証情報を含める必要があります。認証により安全な通信が保証され、承認されたユーザーとしての身元が検証され、シームレスな統合が可能になります。 Zapier ワークフローと PDF4meの Excel テキストブランディングサービス。

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

ファイルのみ必須
ヘッダー、フッター、ワークシートのターゲット設定、および文化フィールドはすべてオプションです。 Zapier 設定。テキストフィールドを空欄にすると、そのセクション全体をスキップできます。
それぞれ独立した、個性的なスタイルの6つのセクション
ヘッダーの左/中央/右とフッターの左/中央/右にはそれぞれ独自のテキスト、色、フォントサイズを設定できるため、太字の赤い中央揃えのタイトルと、左揃えの小さな灰色の日付を組み合わせることができます。
ワークシートのターゲティングは任意です
変更を特定のシートに限定するには、「対象ワークシート(名前指定)」または「対象ワークシート(インデックス指定)」を使用してください。ブック内のすべてのワークシートに変更を適用するには、両方の項目を空欄のままにしてください。

:::ヒント:前の手順でマップファイルとファイル名を取得してください + 隣のボタン ファイル そして ファイル名 以前の Zap ステップからマッピングするには、たとえば、 Excel Googleドライブから。組み合わせることができます ファイル名 そして ファイル拡張子 前のステップから完全なファイル名を構築します。 Excelファイルには完全なコンテンツを提供する必要があり、「存在するが表示されない」参照は認められません。 :::

:::警告 ファイル: (存在しますが表示されません) ファイルフィールドに「ファイル: (存在しますが表示されません)」と表示され、「ファイルが空です」エラーが発生する場合は、 ファイルの内容全体 代わりに。参照 Zapier & Power Automate ヒント詳細は :::

PDF4me Excel テキストヘッダー/フッター追加 Zapier 設定 パート 1 - ファイル、ファイル名、ヘッダー左/中央/右テキスト、色、フォントサイズ
設定する Excel テキストヘッダーフッターアクションを追加する:マップファイル(必須)を選択し、左、中央、右セクションのヘッダーテキスト、色、フォントサイズを設定します。
PDF4me Excel テキストヘッダー/フッター追加 Zapier 設定 パート 2 - フッターの左/中央/右テキスト、色、フォントサイズ、対象ワークシート、カルチャ
フッターテキストセクション、ワークシートの名前または索引による対象指定、および文化/言語設定。

Add Text Header Footerの主な機能は何ですか?​

  • 6つのテキストセクションヘッダーの左、中央、右、およびフッターの左、中央、右にテキストを追加します。
  • セクションごとのスタイリング各セクションごとにテキスト、色、フォントサイズを個別に設定します。
  • ワークシートのターゲット設定名前またはインデックスで特定のシートを指定するか、すべて指定する場合は空欄のままにします。
  • 文化と言語日付と数値の書式設定のロケールを設定します

パラメータ​

「テキストヘッダーフッターの追加」アクションのパラメーターの完全なリスト。パラメーター名は、 Zapier 構成 UI 上記のスクリーンショットに示されています。

クイックセットアップチェックリスト
  1. 地図 ファイル (Excelトリガーまたは前のステップから
  2. オプションでマッピング ファイル名 (例:前の手順で取得したファイル名とファイル拡張子を組み合わせる)
  3. テキストを入力してください ヘッダー左テキスト、 ヘッダー中央テキスト、 ヘッダー右側テキスト (空欄のままでも構いません)
  4. テキストを入力してください フッター左テキスト、 フッター中央テキスト、 フッター右側テキスト (空欄のままでも構いません)
  5. オプションで設定可能 色 そして フォントサイズ 各セクションについて(デフォルト:黒、11)
  6. 任意で指定 対象ワークシート - 名前別 または 対象ワークシート - 索引別 (または、すべてのシートを空欄のままにしてください)
パラメータ必須その機能例
FileOptionalExcel file to add text headers/footers to. Map from a previous step. Must provide full file content.[2. File from Step 2]
File NameOptionalExcel filename with .xlsx or .xls extension, used for output file identification.add_header_sample_file.xlsx
Header Left-TextOptionalText for the left header section.Ynoox
Header Left-ColorOptionalColor for the left header text. Hex or color name. Defaults to Black.Black
Header Left-Font SizeOptionalFont size in points for the left header. Defaults to 11.11
Header Center-TextOptionalText for the center header section.Q4 2024 Report
Header Center-ColorOptionalColor for the center header text. Defaults to Black.Black
Header Center-Font SizeConditionalFont size for the center header.11
Header Right-TextOptionalText for the right header section.-
Header Right-ColorOptionalColor for the right header text. Defaults to Black.Black
Header Right-Font SizeOptionalFont size for the right header. Defaults to 11.11
Footer Left-TextOptionalText for the left footer section.-
Footer Left-ColorOptionalColor for the left footer text. Defaults to Black.Black
Footer Left-Font SizeOptionalFont size for the left footer. Defaults to 11.11
Footer Center-TextOptionalText for the center footer section.Confidential
Footer Center-ColorConditionalColor for the center footer text.Black
Footer Center - Font SizeOptionalFont size for the center footer. Defaults to 11.11
Footer Right TextOptionalText for the right footer section.-
Footer Right-ColorConditionalColor for the right footer text.Black
Footer Right-Font SizeOptionalFont size for the right footer. Defaults to 11.11
Target Worksheets-By NameOptionalTarget worksheets by exact name. Empty applies to all sheets.Sheet1, Sheet2
Target Worksheets-By IndexOptionalTarget worksheets by 1-based index. Empty applies to all sheets.[1, 2]
Culture & Language SettingsOptionalLocale for date/number formatting.en-US
File URL (Either provide File or File URL)OptionalLink to the Excel workbook to add the header and footer to, as an alternative to File. Map a file URL from a previous step.
すべてのワークシートに適用する

両方とも残しておく 対象ワークシート - 名前別 そして 対象ワークシート - 索引別 テキストヘッダー/フッターを適用するには空欄にしてください すべてのワークシート ワークブックに記載されています。

重要: のみ ファイル は必須です。ファイル名を含むその他のフィールドはすべて 条件付きつまり、その特定のセクションにスタイルを適用したい場合にのみ重要になります。 + 各フィールドの横にあるボタンをクリックすると、前の手順からデータをマッピングできます。ワークシートのインデックスは1から始まります。色は16進数コード(#RRGGBB)または色名(例:黒、赤)で指定できます。

「テキストヘッダー/フッターを追加」すると何が返されますか?​

の PDF4me テキストヘッダーとフッターを追加 アクションは変更されたものを返します Excel 後続の Zap ステップで使用するためのファイル。出力形式はすべて共通です。 PDF4me Excel アクション Zapier。

主要な出力フィールド(次のステップに対応付けてください)​

ファイルURL

API 処理済みのデータをダウンロードするためのエンドポイント Excel ファイル。これを次のステップのファイル入力にマッピングします。

api.pdf4me.com/Zapier/GetDocument?d=...
代替ファイルURL

代替ダウンロード URL パスにファイル名を含めて。

api.pdf4me.com/Zapier/GetAltDocument/.../add_header_sample_file.xlsx
分野タイプ内容物
jobIdTextID of the PDF4me job that processed the request.
traceIdTextTrace ID of the request, when PDF4me returns one. Give it to PDF4me support when reporting a problem.
documentIdTextID PDF4me gives the resulting document.
File NameTextName of the resulting file, without extension.
File ExtensionTextExtension of the resulting file, for example `.pdf`.
Full File NameTextName of the resulting file, with extension.
File UrlTextDownload link of the resulting file. Map it into any later step that needs the file, for example an upload to Google Drive, Dropbox or OneDrive.
Alternate File UrlTextAlternative download link of the resulting file, with the file name at the end of the URL.
File SizeNumberSize of the resulting file, as reported by PDF4me.

例 JSON 出力 (URL(表示形式のみ、リンクは機能しません):

{
"Job Id": "969f2da3-f10a-49bf-b084-6fc4759991ec",
"File Url": "api.pdf4me.com/Zapier/GetDocument?d=...",
"Alternate File Url": "api.pdf4me.com/Zapier/GetAltDocument/.../add_header_sample_file.xlsx",
"File Name": "add_header_sample_file",
"File Extension": ".xlsx",
"Full File Name": "add_header_sample_file.xlsx",
"Document Id": "07386627-184a-44b2-a040-5ea2712a4bc5",
"File Size": 212764,
"Doc Text": ""
}
すべて同じ出力PDF4me Excel アクション

この出力構造は、以下の間で共有されます。 テキストヘッダーとフッターを追加、 行を追加する、 行を更新する、 透かしを追加その他 PDF4me Excel アクション Zapier. URLこれらは一時的なものです。期限が切れる前に次のステップで使用してください。

典型的な構成​

ワークフローの例Common Zapier workflow patterns using Add Text Header Footer.
ブランド化された財務報告書の配布
  1. 月次財務ワークブックがGoogleドライブのフォルダに保存されると、トリガーが作動します。
  2. PDF4me 「テキストヘッダーとフッターの追加」では、ヘッダーの中央テキストをレポートのタイトルに、フッターの中央テキストを「機密 - 社内使用のみ」に設定し、ターゲットワークシートを空のままにして適用することで、すべてのシートに同じ処理が適用されます。
  3. Driveの手順では、ブランドロゴ入りのワークブックを役員向けフォルダにアップロードします。
企業ヘッダー付きのクライアント向け成果物
  1. 成果物ワークブックが最終版としてマークされたときに、プロジェクト管理のトリガーが作動します。
  2. PDF4me 「テキストヘッダーとフッターの追加」では、ヘッダーの左側のテキストをコンサルティング会社の名前に、フッターの右側のテキストを前の手順でマッピングされた日付値に設定し、「名前でワークシートを対象とする」を使用して顧客向けのシートのみを対象とします。
  3. メール送信の手順で、クライアントにブランドロゴと日付が入ったワークブックが送信されます。
ワークブック全体にわたる機密採点
  1. アクセス制限付きストレージフォルダにワークブックがアップロードされると、トリガーが作動します。
  2. PDF4me 「テキストヘッダーフッターの追加」では、ヘッダー中央のテキストを「機密」に設定し、ヘッダー中央の色を赤にします。ターゲットワークシートは空のままにしておくため、すべてのシートにマークが表示されます。
  3. マークされたワークブックは安全なストレージに保存され、その配布状況はログに記録されます。

実践的なヒント​

File: (Exists but not shown) causes errors
Select the mapping option that provides the file's full binary content instead of a reference. See Zapier & Power Automate Tips for the exact steps.
Only File is required, everything else is optional
Leave any Header or Footer Text field empty to skip that section. There is no need to fill in all six sections if you only need one or two.
Culture & Language Settings affects formatting, not layout
This field controls locale-specific date and number formatting inside the values you provide, it does not reposition or reorder the header/footer sections.
Only one worksheet-targeting field is needed
Use either Target Worksheets-By Name or Target Worksheets-By Index, not both. Leaving both empty applies the header and footer to every sheet.
Color accepts hex or named values
Use a hex code like #FF0000 for exact brand colors, or a plain color name like Black or Red when precision does not matter.

チートシート​

分野価値
ActionAdd Text Header Footer
File[Mapped from previous step]
File Nameadd_header_sample_file.xlsx
Header Center-TextQ4 2024 Report
Footer Center-TextConfidential
Default ColorBlack
Default Font Size11
Target Worksheets-By NameSheet1, Sheet2 (or empty for all)
Culture & Language Settingsen-US

よくある質問​

How do I add a header and footer to an Excel file automatically in Zapier?+
Add the PDF4me Add Text Header Footer action to a Zap, map the Excel file from a previous step using the full-content option, and fill in the Header and Footer Text fields for the sections you want. See Microsoft's guide on Excel headers and footers for how these sections behave on the printed page.
Can I apply a header and footer to only specific worksheets?+
Yes. Use Target Worksheets-By Name to list exact sheet names, or Target Worksheets-By Index for 1-based sheet positions. Leave both fields empty to apply the header and footer to every worksheet in the workbook.
How do I create a footer with different text on the left, center, and right?+
Set Footer Left-Text, Footer Center-Text, and Footer Right-Text independently. Each section also has its own Color and Font Size fields, so you can style them differently within the same footer.
Is the File field the only required parameter?+
Yes. Only File is marked required in the Zapier configuration. File Name and every header, footer, worksheet-targeting, and culture field are optional, leaving a text field empty simply skips that section.
Does adding a header and footer change the data in the spreadsheet?+
No. The action only writes to the worksheet's header and footer regions, the same print areas described in Microsoft's header and footer documentation. Cell data, formulas, and formatting in the worksheet body are untouched.

関連アクション​

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

テキストヘッダーフッターを追加する Make
同じ6セクションのテキストブランディングモジュールがビジュアルに接続されています Make クラウドストレージのトリガーを使用したシナリオ。
テキストヘッダーフッターを追加する n8n
同等のもの n8n 自己ホスト型またはコード量の多いワークフロー内にブランディングロジックを組み込みたい開発者向けのノード。
テキストヘッダーフッターを追加する Power Automate
Microsoft 365 流れ SharePoint そして OneDrive 既に標準化されている組織向け Power Automate。
テキストヘッダーとフッターを追加 REST API
生 PDF4me API このアクションの背後にあるエンドポイント。カスタムバックエンドコードやPostmanテストに使用できます。

業界におけるユースケースとアプリケーション​

  • 財務諸表のタイトルヘッダーに期間タイトルを追加する(例:「2024年第4四半期キャッシュフロー計算書」)
  • 機密保持に関するフッターすべての財務報告書に「機密扱い - 社内使用のみ」というフッターを挿入する
  • レポート生成日バージョン管理と追跡のために「生成日時: MM/DD/YYYY」というフッターを追加します。
  • 予算報告書の見出し予算と実績の比較レポートに部門と期間のヘッダーを挿入する
  • 監査証跡フッター: 準拠のために「作成者: [名前]」と「レビュー日: [日付]」を追加してください

ヘルプが必要な場合​