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 / Cannot rename file wit...
Power Automate
Answered

Cannot rename file with clipboard variable

(0) ShareShare
ReportReport
Posted on by 5

Hello, 

my flow finds an correct cell in Excel, copy it create an variable from clipboard and want to rename file with this new variable

 

he cannot o that, I think that might be an "new line" sign on the end of this clipboard variable.

 

Do you have some idea what can I do to solve it?

  • Verified answer
    fraenK Profile Picture
    2,125 on at

    If there is a whitespace at the beginning or end you can use trim to remove it: https://docs.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/text#trim

  • Redire Profile Picture
    5 on at

    Thank you, this works 

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 213 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 151

Last 30 days Overall leaderboard