How can I use IntelliSense in Visual Basic?

I Installed Microsoft Excel and want to program with Visual Basic. But Apple has blocked some security settings related to Microsoft apps. On a macbook the Excel Trust Center is not available. Is someone familiar with this? And how can I change settings in a way that the IntelliSense is working again?


Btw: IntelliSense helps a programmer to choose from available options/paramaters/objects when typing code.


Thanks.

MacBook Pro 14″, macOS 13.2

Posted on Feb 3, 2023 2:31 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 3, 2023 5:33 AM

I found a solution. The problem is that Apple does not allow trusted access to the VBA Project Object Model. I found a macro on ExcelBaby.com that solves this problem for me. See "Excel Macro: Enable Trust Access to the VBA Project Object Model"

IntelliSense now works fine even if I restart the macbook.



2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How can I use IntelliSense in Visual Basic?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.