Lewati ke konten utama

Tambahkan Tanda Air Teks ke Excel di dalam Power Automate

PDF4me Tambahkan Tanda Air Teks ke Excel adalah sebuah Power Automate tindakan yang membubuhkan stempel RAHASIA, DRAFT, atau label teks khusus apa pun ke Excel Ubah lembar kerja menjadi objek WordArt. Gunakan untuk menandai data keuangan sensitif, menandai draf anggaran, atau menambahkan pemberitahuan hak cipta ke laporan yang diekspor, dengan kendali penuh atas ukuran, warna, rotasi, dan posisi.

Postingan Blog Terkait
Belum ada postingan blog untuk fitur ini — akan segera hadir.
Sementara itu, jelajahi blog PDF4me untuk menemukan tutorial dan alur kerja di berbagai platform.
Kunjungi blog ini

Apa yang dilakukan oleh tindakan ini?

PDF4me - Tambahkan Tanda Air Teks ke Excel Mencetak label teks yang dapat disesuaikan - RAHASIA, DRAFT, DISETUJUI, pemberitahuan hak cipta, atau rangkaian kata apa pun - langsung ke Excel Lembar kerja sebagai objek WordArt. Anda mengontrol teks, ukuran yang telah ditentukan (50 pt, 150 pt), warna, font, gaya tebal/miring, transparansi, sudut rotasi, dan salah satu dari sembilan posisi grid. Terapkan ke setiap lembar kerja atau targetkan lembar kerja tertentu berdasarkan nama atau indeks. Aksi ini berjalan di dalam Power Automate aliran awan dan mengembalikan yang diberi tanda air Excel sebagai biner siap untuk disimpan ke SharePoint, OneDriveDropbox, atau email.

Bagaimana Cara Saya Mengautentikasi Saya? Power Automate Mengalir?

Setiap PDF4me tindakan dalam Power Automate membutuhkan koneksi yang menahanmu API kunci. Buat atau pilih salah satu saat Anda menambahkan tindakan untuk pertama kalinya.

Fakta Penting yang Tidak Boleh Anda Lewatkan

WordArt - bukan header/footer

Tanda air disematkan sebagai bentuk WordArt di lapisan gambar lembar kerja. Tanda air ini terlihat baik di tampilan lembar kerja maupun hasil cetak, tidak seperti ExcelTeks header/footer asli yang hanya muncul saat dicetak.

Penargetan tingkat lembar kerja

Biarkan pemilih lembar kerja kosong untuk memberi tanda air pada seluruh buku kerja. Tentukan nama lembar atau indeks berbasis 0 untuk menargetkan hanya tab tertentu - berguna ketika buku kerja mencampur lembar ringkasan publik dengan lembar data yang dibatasi.

Gabungkan beberapa tindakan untuk variasi per lembar.

Satu tindakan menerapkan satu gaya tanda air. Untuk mencetak teks berbeda pada lembar yang berbeda, gabungkan dua atau lebih tindakan Tambahkan Tanda Air Teks ke Excel melakukan tindakan secara berurutan, masing-masing menargetkan lembar kerja yang berbeda, sebelum menyimpan file akhir.

Tindakan Power Automate Tambahkan Tanda Air Teks ke Excel yang menampilkan Konten File dari SharePoint Dapatkan konten file, Teks Tanda Air RAHASIA, Ukuran Teks 3, Warna Teks #FF0000, Posisi 4

Peta Isi File dari langkah penyimpanan Anda, masuk Teks Tanda Air, dan pilih ukuran, warna, dan posisi.

Parameter

Diperlukan: Isi File, Nama File, Dan Teks Tanda AirSemua parameter lainnya memiliki nilai default yang wajar. Indeks lembar kerja menggunakan berbasis 0 penomoran (Indeks 0 = lembar pertama).

ParameterDiperlukanApa fungsinya?Contoh
File ContentRequiredBinary content of the Excel file. Map from a Get file content action in SharePoint, OneDrive, Dropbox, or any storage connector. Must be a valid .xlsx or .xls workbook.SharePoint → File Content
File NameRequiredFilename including extension (.xlsx or .xls). Used to identify the document being processed. Supports dynamic values from prior flow steps.report.xlsx
Watermark TextRequiredText to display on each worksheet as a WordArt object. Any alphanumeric string or symbol. Examples: CONFIDENTIAL, DRAFT, © 2025 Acme Corp.CONFIDENTIAL
Text SizeOptionalSize preset: 1 = 50 pt (Small), 2 = 75 pt (Medium), 3 = 100 pt (Large, default), 4 = 150 pt (Extra Large). Values outside 1-4 fall back to 100 pt.3
Text ColorOptionalHex code (#FF0000) or named color (Red, Blue, Gray, Black). Defaults to Black. Invalid values fall back to black.#CC0000
Font FamilyOptionalFont name for the watermark WordArt. Common choices: Arial, Calibri, Times New Roman. Defaults to Arial. Unknown fonts may use the system default.Arial
Is BoldOptionalSet to true to apply bold weight to the watermark text. Improves readability over busy worksheets. Defaults to false.true
Is ItalicOptionalSet to true to apply italic style. Useful for softer "Draft" labels. Defaults to false.false
TransparencyOptionalOpacity from 0 (fully solid) to 100 (invisible). Set 40-60 for subtle watermarks that do not obscure cell data. Defaults to 0.50
Rotation AngleOptionalAngle in degrees. Positive = clockwise, negative = counter-clockwise. Range: -360 to 360. Use: 45 for the classic diagonal watermark.-45
PositionOptional0-8 grid code. Top row: 0 = Top-Left, 1 = Top-Center, 2 = Top-Right. Middle: 3 = Mid-Left, 4 = Center (default), 5 = Mid-Right. Bottom: 6, 7, 8.4
Selected Worksheet NamesConditionalArray of case-sensitive sheet names to watermark. Leave empty to apply to all sheets. Combined with Selected Worksheet Indexes.["Sheet1","Summary"]
Selected Worksheet IndexesConditional0-based array of sheet positions to watermark. Index 0 = first sheet. Leave empty to apply to all sheets.[0, 2]

Bidang Keluaran

BidangJenisIsi di dalamnya
documentBase64The Excel workbook with the text watermark applied to each targeted worksheet.
SuccessBooleantrue if the action completed, false if it failed.
ErrorMessageStringError description, null when Success is true.
ErrorsArrayDetailed error objects, empty when Success is true.

Bagaimana Cara Mengatur Penambahan Teks Tanda Air di Power Automate?

  1. Dalam alur Anda, klik + Langkah baru → pencarian PDF4me → pilih Tambahkan Tanda Air Teks ke Excel.
  2. Menghubungkan menggunakan milik Anda PDF4me API kunci (atau pilih koneksi yang sudah ada).
  3. Peta Isi File dari langkah penyimpanan Anda (SharePoint Dapatkan isi file, OneDrive Dapatkan isi fileatau yang setara dengan Dropbox).
  4. Mengatur Nama File ke .xlsx nama file (dinamis atau statis).
  5. Memasuki Teks Tanda Air - contohnya CONFIDENTIAL, DRAFT, atau © 2025 Acme Corp.
  6. Menyesuaikan Ukuran Teks, Warna Teks, Transparansi, Sudut Rotasi, Dan Posisi agar sesuai dengan merek Anda.
  7. (Opsional) Isi Nama-nama Lembar Kerja yang Dipilih atau Indeks Lembar Kerja Pilihan untuk menargetkan lembar kerja tertentu saja.
  8. Tambahkan Buat berkas atau Perbarui file tindakan setelah langkah ini dan petakan Dokumen output sebagai isi file yang akan disimpan.

Contoh Alur Kerja

Contoh AlurCommon Power Automate scenarios that use Add Text Watermark to Excel for security marking, draft management, and compliance.
Beri tanda RAHASIA pada laporan keuangan sebelum didistribusikan.
  1. Alur terjadwal berjalan di akhir bulan ketika laporan baru masuk ke dalam sistem. SharePoint perpustakaan.
  2. Dapatkan isi file mengambil Excel buku kerja.
  3. Tambahkan Tanda Air Teks ke Excel Stempel "RAHASIA" - Ukuran Teks 4, Warna #CC0000, Rotasi -45, Transparansi 40, semua lembar.
  4. Buat berkas menyimpan salinan yang diberi tanda air ke lokasi yang dibatasi SharePoint folder.
  5. A Outlook Langkah ini mengirimkan tautan unduhan melalui email hanya kepada penerima yang berwenang.
Alur kerja persetujuan - Tanda air DRAFT ke DISETUJUI
  1. Lembar kerja anggaran diajukan untuk ditinjau melalui formulir Power Apps.
  2. Alur tersebut menambahkan tanda air diagonal abu-abu "DRAFT" (Transparansi 60, Rotasi -45) dan mengirim email kepada peninjau.
  3. Setelah disetujui, cabang aliran kedua akan berjalan. Tambahkan Tanda Air Teks ke Excel sekali lagi dengan tulisan "DISETUJUI" berwarna hijau (Warna #008000, Transparansi 40).
  4. Berkas yang disetujui akan menimpa draf tersebut. SharePoint dan memicu notifikasi Teams.
Tanda air hak cipta pada ekspor data eksternal
  1. Alur otomatis mengekspor data analitik bulanan dari basis data ke Excel.
  2. Tambahkan Tanda Air Teks ke Excel Menempelkan stempel "© 2025 Acme Corp - Hanya untuk Penggunaan Internal" dalam teks kecil (Ukuran 1) di bagian Kanan Bawah (Posisi 8) hanya pada lembar "Data" dan "Grafik".
  3. Nama-nama Lembar Kerja yang Dipilih diatur ke ["Data","Grafik"] agar halaman sampul tetap bersih.
  4. Buku kerja berwatermark diunggah ke klien. SharePoint portal dan tautan dikirim melalui Outlook.

Tips Praktis

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.

Lembar Panduan Singkat

BidangNilai
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)
Outputdocument (Base64 workbook) + Success + ErrorMessage + Errors

Pertanyaan yang Sering Diajukan

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.

Tindakan Terkait

Tugas yang Sama di Platform Lain

Dapatkan Bantuan