Microsoft Visual Basic Unexpected Error 50001 Mac

Posted on  by admin

As I mentioned no problems in Mac 2011 providing a form with a custom cursor in any control is not loaded. OTH Mac 2011 crashes if a form is loaded that includes certain types of gif images originally added in Windows, yet no problem in Mac 2016 even to load and show such images. Any additional feedback? Then, go to the next step. If the problem seems to be resolved, you can move the file to the trash. Quit all Microsoft Office for Mac programs. On the Go menu, click Home. Open the Library folder. Note The Library folder is hidden in MAC OS X Lion. To display this folder, hold down the OPTION key while you click the Go.

This article is a consolidation of the following previously available article: 328167

Microsoft Visual Basic Unexpected Error 50001 Mac Free


When you start Microsoft Office Word, you may receive error messages that are similar to the following error messages:

subscript out of range.

Visual Basic Error - Object doesn't support this property or method.

Cannot display the template add in template is not valid template name.

Word cannot open this document template template name.

Command cannot be performed because a dialog box is open.

The file cannot be opened.

Microsoft VisualBasic - The macros in this project are disabled.


This behavior occurs because an add-in in one of the startup folders is not compatible with Word.


To identify the add-in that may be causing the behavior, follow these steps:

  1. Quit all Microsoft Office programs, including Word and Microsoft Outlook.

  2. Open the following folder for depending on your version of Word.
    For Microsoft Office Word 2010:

    Program FilesMicrosoft OfficeOffice14StartupFor Microsoft Office Word 2007:

    Program FilesMicrosoft OfficeOffice12StartupFor Microsoft Office Word 2003:

    Program FilesMicrosoft OfficeOffice11Startup For Microsoft Word 2002:

    Program FilesMicrosoft OfficeOffice10Startup For Microsoft Word 2000:

    Program FilesMicrosoft OfficeOfficeStartup

  3. Move any files that are located in that folder to your desktop.

  4. Open the following folder:

    Documents and SettingsusernameApplication DataMicrosoftWordStartup

  5. Move any files that are located in that folder to your desktop.

  6. Restart Word.

You can also troubleshoot Word startup issues by using the Support Template. For more information about how to use the Support Template, click the following article number to view the article in the Microsoft Knowledge Base:

820919 How to troubleshoot problems that occur when you start or use Word 2003 or Word 2002

Microsoft Visual Basic Unexpected Error 50001 Mac
I have a spreadsheet with many macros that have always worked fine. Then I installed Office 2011 on my new iMac (when the old one died), and now when I try to run a Macro I get the error message 'Microsoft Visual Basic Unexpected error; quitting' and when I close that dialog box I get another one 'Compile error: Can't find project or library'. I can call up the list of my macros after these initial error messages, but when I try to run one, I get the message 'Can't execute code in break mode'. If I try to edit a macro, I again get the message 'Microsoft Visual Basic Unexpected error; quitting'. The Visual Basic Editor will not open. Based on some Google searching, I tried reinstalling VBA for applications, then reinstalling all of Office, but the problem persists. Any help would be greatly appreciated!