Passa al contenuto principale

Aggiungi filigrana di testo a Excel In Power Automate

PDF4me Aggiungi filigrana di testo a Excel è un Power Automate azione che imprime l'etichetta RISERVATO, BOZZA o qualsiasi testo personalizzato su Excel Trasforma i fogli di lavoro in un oggetto WordArt. Usalo per contrassegnare dati finanziari sensibili, evidenziare le bozze di bilancio o aggiungere avvisi di copyright ai report esportati, con il pieno controllo su dimensioni, colore, rotazione e posizione.

Articoli correlati del blog
Non ci sono ancora post sul blog dedicati a questa funzionalità — in arrivo a breve.
Nel frattempo, dai un'occhiata al blog di PDF4me per trovare tutorial e procedure operative su tutte le piattaforme.
Visita il blog

Cosa fa questa azione

PDF4me - Aggiungi filigrana di testo a Excel stampa un'etichetta di testo personalizzabile - RISERVATO, BOZZA, APPROVATO, un avviso di copyright o qualsiasi stringa - direttamente su Excel fogli di lavoro come oggetto WordArt. È possibile controllare il testo, le dimensioni predefinite (50 pt, 150 pt), il colore, il carattere, lo stile grassetto/corsivo, la trasparenza, l'angolo di rotazione e una delle nove posizioni della griglia. Applica a tutti i fogli di lavoro o seleziona fogli specifici per nome o indice. L'azione viene eseguita all'interno di qualsiasi Power Automate flusso di nuvole e restituisce la filigrana Excel come binario pronto per essere salvato SharePoint, OneDrive, Dropbox o e-mail.

Come faccio ad autenticare il mio Power Automate Fluire?

Ogni PDF4me azione in Power Automate richiede un connessione che contiene il tuo API Chiave. Creane o selezionane una quando aggiungi l'azione per la prima volta.

Informazioni importanti da non perdere

WordArt - non è un'intestazione/piè di pagina

La filigrana è incorporata come forma WordArt nel livello di disegno del foglio di lavoro. È visibile sia nella visualizzazione del foglio che nell'output di stampa, a differenza di ExcelTesto nativo dell'intestazione/piè di pagina che appare solo quando stampato.

Targeting a livello di foglio di lavoro

Lascia vuoti i selettori dei fogli di lavoro per applicare la filigrana all'intera cartella di lavoro. Specifica i nomi dei fogli o gli indici basati su 0 per selezionare solo determinate schede: utile quando una cartella di lavoro contiene fogli di riepilogo pubblici e fogli di dati con accesso limitato.

Concatena più azioni per la variazione per foglio

Un'azione applica uno stile di filigrana. Per stampare testi diversi su fogli diversi, concatena due o più azioni Aggiungi filigrana di testo a Excel Eseguire le operazioni in sequenza, ciascuna indirizzata a fogli di lavoro distinti, prima di salvare il file finale.

Azione Power Automate Aggiungi filigrana di testo a Excel che mostra il contenuto del file da SharePoint Ottieni contenuto del file, testo della filigrana RISERVATO, dimensione testo 3, colore testo #FF0000, posizione 4

Mappa Contenuto del file dalla fase di archiviazione, inserisci Testo della filigranae scegli taglia, colore e posizione.

Parametri

Necessario: Contenuto del file, Nome del file, E Testo della filigranaTutti gli altri parametri hanno valori predefiniti sensati. Gli indici del foglio di lavoro utilizzano basato su 0 numerazione (Indice 0 = primo foglio).

ParametroNecessarioCosa faEsempio
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]

Campi di output

CampoTipoCosa contiene
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.

Come impostare Aggiungi filigrana di testo in Power Automate?

  1. Nel tuo flusso, fai clic + Nuovo passo → cerca PDF4me → seleziona Aggiungi filigrana di testo a Excel.
  2. Collegare usando il tuo PDF4me API tasto (oppure scegli una connessione esistente).
  3. Mappa Contenuto del file dalla fase di archiviazione (SharePoint Ottieni il contenuto del file, OneDrive Ottieni il contenuto del file(o l'equivalente di Dropbox).
  4. Impostato Nome del file per il .xlsx nome del file (dinamico o statico).
  5. Inserisci Testo della filigrana - per esempio. CONFIDENTIAL, DRAFT, O © 2025 Acme Corp.
  6. Regolare Dimensione del testo, Colore del testo, Trasparenza, Angolo di rotazione, E Posizione per essere in linea con la tua immagine aziendale.
  7. (Opzionale) Popola Nomi dei fogli di lavoro selezionati O Indici dei fogli di lavoro selezionati per indirizzare solo fogli specifici.
  8. Aggiungi un Crea file O Aggiorna il file azione dopo questo passaggio e mappare Documento output come contenuto del file da salvare.

Esempi di flusso di lavoro

Esempi di flussoCommon Power Automate scenarios that use Add Text Watermark to Excel for security marking, draft management, and compliance.
Contrassegnare i report finanziari come RISERVATI prima della distribuzione.
  1. Un flusso programmato viene eseguito a fine mese quando un nuovo report arriva in un SharePoint biblioteca.
  2. Ottieni il contenuto del file recupera il Excel cartella di lavoro.
  3. Aggiungi filigrana di testo a Excel Francobolli "RISERVATO" - Dimensione testo 4, Colore #CC0000, Rotazione -45, Trasparenza 40, tutti i fogli.
  4. Crea file salva la copia con filigrana in una cartella riservata SharePoint cartella.
  5. UN Outlook Step invia il link per il download solo ai destinatari autorizzati.
Flusso di lavoro di approvazione - Filigrana da BOZZA ad APPROVATO
  1. Un foglio di calcolo del budget viene inviato per la revisione tramite un modulo Power Apps.
  2. Il flusso aggiunge una filigrana diagonale grigia con la scritta "DRAFT" (Trasparenza 60, Rotazione -45) e invia un'e-mail ai revisori.
  3. Dopo l'approvazione, si avvia un secondo ramo di flusso Aggiungi filigrana di testo a Excel Di nuovo con la scritta "APPROVATO" in verde (Colore n. 008000, Trasparenza 40).
  4. Il file approvato sovrascrive la bozza in SharePoint e attiva una notifica di Teams.
Filigrana di copyright sulle esportazioni di dati esterni
  1. Un flusso automatizzato esporta i dati analitici mensili da un database a Excel.
  2. Aggiungi filigrana di testo a Excel Il timbro "© 2025 Acme Corp - Internal Use Only" in caratteri piccoli (dimensione 1) in basso a destra (posizione 8) compare solo sui fogli "Dati" e "Grafici".
  3. Nomi dei fogli di lavoro selezionati è impostato su ["Dati","Grafici"] in modo che il foglio di copertina rimanga pulito.
  4. La cartella di lavoro con filigrana viene caricata su un client SharePoint portale e un link viene inviato tramite Outlook.

Consigli pratici

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.

Foglio riassuntivo

CampoValore
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

Domande frequenti

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.

Azioni correlate

Stessa attività su altre piattaforme

Richiedi assistenza