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

How to select the file under the scroll?

(0) ShareShare
ReportReport
Posted on by 331

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
    331 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
    331 on at

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

  • alee001 Profile Picture
    331 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
    795 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
    331 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

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard