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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow - Macros need to ...
Power Automate
Unanswered

Flow - Macros need to open a txt file

(0) ShareShare
ReportReport
Posted on by

Hi, please assist.

I have started with a flow where I launch Excel file. 

Then I Run Excel macro.

This macros need to read in two text files, so it opens a window where it prompts me to click on the first text file. Once that is done, it will opens another windows, prompting me to open the second text file. what would be the next actions to allow flow to perform these automatically. 

 

On a daily basis these text file names are different. It starts with and ends with the same characters for e.g dv05m0316d1.

However, the digits changes according to the previous day's date. 

How would I make use of a variable in the filename?

 

Regards

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,535 Super User 2025 Season 2 on at

    Are you planning to use PAD or a cloud flow?

    Have you considered using Office scripts instead of macros?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Expiscornovus Profile Picture

Expiscornovus 201 Most Valuable Professional

#2
David_MA Profile Picture

David_MA 174 Super User 2025 Season 2

#3
harshdeol Profile Picture

harshdeol 167 Moderator

Last 30 days Overall leaderboard