excel macro

vladimir.kosik 21 Reputation points

I have an issue to run my excel macro. When I press button 'RUN' then new error window pop up with following message: 'Microsoft Visual Basic for Application error: Visual Basic'. How I can fix it? Thank you! 8400-error-message.png

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,709 questions
0 comments No comments
{count} votes

Accepted answer
  1. Leon Laude 85,721 Reputation points


    Q&A currently supports the products listed over here https://learn.microsoft.com/en-us/answers/products (more to be added later on).

    You can reach the experts in the dedicated Microsoft Excel forum over here:

    (Please don't forget to accept helpful replies as answer)

    Best regards,

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anash Mohamed 1 Reputation point

    The Visual Basic, Macros, and Record Macro options are disabled under the Developer and View ribbon.

  2. Anonymous

    @vladimir.kosik > give me more information how to enabled visual basic, macros and record macro Please read this article https://support.office.com/en-us/article/show-the-developer-tab-e1192344-5e56-4d45-931b-e5fd9bea2d45 ![developer-tab.png][1] Also you can try execute your macro step-by-step, you can find line with error. Press keys Alt+F11, select desired macro, and press key F8 or find Step Into command in Debug toolbar ![8576-stepinto.png][2] [1]: https://www.excel-easy.com/examples/images/developer-tab/developer-tab.png [2]: /api/attachments/8576-stepinto.png?platform=QnA

  3. Anonymous

    This macro can contain mistakes or written for other Excel's edition. These mistakes may be is reason for this error !

    You can download OpenOffice application (open sourse substitution of MS Office), in this application you can open protected macros without problems