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,479 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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard