web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to Paste Clipboard...
Power Automate
Unanswered

How to Paste Clipboard MS Word File Book Mark

(0) ShareShare
ReportReport
Posted on by

Im trying to Copy Excel Table Data & Paste Specified Book Mark in MS Word Doucment by PowerAutomate Desktop Tool,

But In Automate Tool, No have features MS Word Activities.

So, I want to get a PowerShell script code that pastes the clipboard to a specific bookmark in the MS Word file.

Please Reply to me!  If someone Help it, I will very appreciate it.

Thanks 🙂

I have the same question (0)
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    I would suggest that instead of using the clipboard, you would simply read data from Excel using Read from Excel worksheet and store it into a variable. If you use scripting, formatting will not be pasted anyway.

     

    When you have the data in a variable, you can use VBscript or PowerShell to write to an MS Word document. It is quite easy to find sample code on how to do it online.

     

    Alternatively, you could launch MS Word and simply use Send keys to paste the data, if you need it to retain formatting, too. This will be slow, inefficient and with a higher potential for error. But that's pretty much the only way to copy and paste data with formatting.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 245

#2
David_MA Profile Picture

David_MA 216 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 212

Last 30 days Overall leaderboard