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 select the file...
Power Automate
Unanswered

How to select the file under the scroll?

(0) ShareShare
ReportReport
Posted on by 409

I use the selector to capture each file in the loop, but I can't select the file under the scroll in the window, how to solve it? Thanks

螢幕擷取畫面 2023-08-07 092053.png

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

    What exactly are you trying to do here? Please don't use the User Interface of the Windows explorer to get a file. There are plenty of actions in Power Automate Desktop that will enable you to do it in a much better way. But in order for us to provide some suggestions, we would need to know what it is exactly you are trying to do.

  • alee001 Profile Picture
    409 on at

    Use the PAD to press a VBA button, it will open the file explorer for the user to select a file to input, but the file explorer window needs to be scrolled down to select a file.

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Can you instead type in the filepath into the address field and then send the Enter key? That should work better than scrolling and clicking.

    -------------------------------------------------------------------------
    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.

  • alee001 Profile Picture
    409 on at

    Since the VBA input interface must use the file explorer to select the file, there is no fixed path.

  • alee001 Profile Picture
    409 on at

    Maximizing the window can increase the number of selected files, but if there are too many files, the scroll cannot be executed by PAD.

  • kinuasa Profile Picture
    801 Most Valuable Professional on at

    You can select file by using the '/select' switch in explorer.exe as shown below.

     

    explorer.exe /select, "C:\Test\Text\TestFile_45.txt"

     

    I think you will get a better answer if you provide the specifics of the flow and the VBA code.

  • alee001 Profile Picture
    409 on at

    Thanks for your reference,

     

    The VBA code for the input window of a button in Excel is as follows, and PAD just uses UI elements to capture the input window.

    dataDir = Application.GetOpenFilename("Excel file(*.xlsm & *.xlsx & *.xls & *.xla & *.xlt),*.xlsm;*.xlsx;*.xls;*.xla;*.xlt", , "Select data file", MultiSelect:=False)

     

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
David_MA Profile Picture

David_MA 298 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 150 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 147 Super User 2026 Season 2

Last 30 days Overall leaderboard