Microsoft Visual Basic - Compile error

Anonymous
2021-04-01T02:09:00+00:00

Split from this thread.

The proposed thread did not really help me as honestly i don't understand  much.

attached screen shot of the problem. 

Many thanks

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
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2021-04-01T02:47:34+00:00

    It is a complex situation - using Excel on Mac and using DECLARE statements.

    Also error msgbox hid the declarations you have so it is difficult to say for certain but usually these are used to connect to DLLs which are typically available on Windows. I don't know whether an equivalent option is available on Mac.

    On Windows the error can be fixed by following the instructions at https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/declare-statement

    0 comments No comments