Excell for Mac Microsoft Visual Basic Invalid procedure call or argument

Anonymous
2024-03-19T10:11:35+00:00

Hello friends! I have an issue while opening the macro Excel sheet on my Mac.

During an attempt to open an Excel doc, an

"Invalid procedure call or argument" error message pops up. By pressing OK button this message appears again and again.

I have to use force quite otherwise there is no other way how to escape from this error and close the program. A macro document has been created on Windows. I would appreciate it if you could advise me on how to solve this issue. Thank you beforehand.

Microsoft 365 and Office | Excel | Other | MacOS

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
Answer accepted by question author
  1. Anonymous
    2024-03-23T18:50:20+00:00

    Hello.

    Many thanks for your detailed advice.

    Unfortunately, I have been swamped the last few days and did not check the code and everything because it is not urgent for me now.

    Anyway, thanks for your concern.

    1 person found this answer helpful.
    0 comments No comments

9 additional answers

Sort by: Most helpful
  1. Jim G 134K Reputation points MVP Volunteer Moderator
    2024-03-22T20:21:37+00:00

    Well, I was sorta hoping you'd try my advice to open the Visual Basic Editor and have a look at the code. Some people look at VBA code and can figure out what it's doing simply by starting at the top and reading down line-by-line. Other people see only gobbledegook. I was waiting for your reaction. Another thing I was hoping to find out is whether the code has been encrypted. You would have complained about it wanting a password, if that were the case.

    If you know what the code was supposed to do you might be able to write your own code and bypass the broken code.

    If all this coding stuff is too tough, then I'd suggest posting the question to the MrExcel.com message board. You will find some professional coders there who might be able to troubleshoot the code, but perhaps for a fee.

    0 comments No comments