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 / 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?
  • eetuRobo Profile Picture
    4,607 Super User 2026 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 423

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 177

Last 30 days Overall leaderboard