Hello partners.

I developed a macro in MS Excel 2016 for a client that uses MAC, the macro works perfectly in Windows, however, when it is executed in MAC it does not work and what is worse: It only shows a useless message "Microsoft Windows Visual Basic Automation Error" .

I use Option Explicit in my code

Do any of you know what could be the cause of this error?