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 / Set the active spreads...
Power Automate
Suggested Answer

Set the active spreadsheet

(1) ShareShare
ReportReport
Posted on by 12
I have two spreadsheets in an Excel workbook. When switching from one active to the other active, I get a vb error 91. Anyone know why?
I have the same question (0)
  • eetuRobo Profile Picture
    4,204 Super User 2025 Season 2 on at
    Can you share more details of your flow and the error? Share a screenshot of your flow or where it fails.

    Are you using PADs Excel actions like Set Active Excel worksheet or are you using VBScript? If you are using VBScript share the script also.
  • CU09122209-0 Profile Picture
    12 on at
    I'm using Set Active Excel worksheet
  • Suggested answer
    CU09122209-0 Profile Picture
    12 on at
    If in the "Start Excel" activity I mark the "Make instance visible" parameter then error 91 no longer appears and it works perfectly.

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard