Announcements
I am reading a Excel file, I have the Filename. I would like to copy that file to another location.
But When I use the filename and folder, it is giving the error message
The following is the action I am doing
You'll need to verify that the content of your variables are matching the argument specification:
https://docs.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/file#copy
Sometimes you need to use trim to remove line breaks from Excel cell output:
https://docs.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/text#trim
File(s) to copy
List of Files The file(s) to copy. This can be a file path, or a variable containing a file, a list of files, a text path, or a list of text paths. Use the 'Get files in folder' action to populate a variable with a list of files
Destination folder
Folder The destination folder for the copied files
Thanks for the super fast reply.
the Value in Cell (2,2) and Cell (2,3) is as below and I tried Display Message it is showing the correct value, But I am still getting the error message as shown in my original message
Did you try trim? Check the content in the variable pane within PAD when executing in edit mode
Great !! I have been struggling for 2.5 Hr, and trim worked great !! and you responded in 25 seconds,
thanks to t you😊
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
David_MA 238 Super User 2026 Season 1
11manish 225
Haque 181