Share via

VBA error code when selecting "Worksheet."

Anonymous
2018-09-29T17:30:06+00:00

When trying to create a running command in VBA I am unable to select "Worksheet" and get the error code "Variable uses an Automation type not supported in Visual Basic." I am using excel for Mac and the recent updates have been applied.  I see there was a specific page dedicated for this issue on the Microsoft forum, yet I don't see where there was any resolution on this matter; and I am still battling with this.  

All the provided "workaround" methods are not working for me,  Someone out there please help :(

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Jim G 134K Reputation points MVP Volunteer Moderator
    2018-09-29T18:38:15+00:00

    When asking for help troubleshooting code, it is a good idea to supply the line of code in question. Most likely you have a typo. I am not aware of any problems selecting worksheets in VBA.

    Was this answer helpful?

    0 comments No comments