Article ID: 274222 - Last Review: January 29, 2007 - Revision: 3.4 Error when you paste ActiveX Controls or run a macro in Excel for MacThis article was previously published under Q274222 On This PageSYMPTOMS
When you open a workbook in Microsoft Excel for Mac and you copy and paste an ActiveX Control or run a Microsoft Visual Basic for Applications macro, you may receive one or more of the following error messages:
The application "unknown" has unexpectedly quit, because an error of
type 3 occurred.
Run-time error '57121': Can't exit design mode because Control 'CheckBox1' can not be created.
Run-time error '32809': Application-defined or object-defined error
Run-time error '1004': Cannot start the source application for this object. There may not be enough memory available. CAUSE
This behavior occurs because Microsoft Excel for Mac does not support ActiveX Controls (also called OCX files). For specific information about each of these error messages, see the "More Information" section. MORE INFORMATION
You cannot use ActiveX Controls in Microsoft Excel for Mac. If you open a workbook that contains any ActiveX Control, you may receive error messages when you perform certain actions, or the workbook may not function correctly. The following sections describe some of the problems that you may experience in Microsoft Excel for Mac when you use a workbook that contains an ActiveX Control.
You Cannot Insert ActiveX Controls in Microsoft Excel for MacIn Microsoft Excel for Windows, there are two primary methods you can use to insert an ActiveX Control into a worksheet or into a custom user form. These methods are as follows:
Also, you cannot add unlisted controls to the toolbox when you are working with a user form in Microsoft Excel for Mac. You can use only the default controls that are included in the toolbox. These controls are not ActiveX Controls; therefore you can use them in user forms. Issues with Controls Created in Microsoft Excel for WindowsBehavior of Controls in Microsoft Excel for MacIf you are working with a workbook that was created or modified in Microsoft Excel for Windows, and the workbook contains one or more ActiveX Controls in a worksheet, the controls do not work when you open the workbook in Microsoft Excel for Mac.Or, if you are working with a workbook that contains a user form that contains controls, the controls work only if they are one of the default controls that you can insert from the toolbox. Nondefault (unlisted) controls do not work in user forms in Microsoft Excel for Mac. The two known issues that may occur when you open such a workbook in Microsoft Excel for Mac are as follows:
Behavior of Controls When You Copy and Paste ThemIf you attempt to copy and paste a control by copying the cells behind the control, you may receive the following error message:
The application "unknown" has unexpectedly quit, because an error of
type 3 occurred.
If you copy and paste a control, save the workbook, and then reopen the workbook in Microsoft Excel for Windows, the new control does not work correctly. However, all other controls in the workbook still work when you reopen the workbook in Microsoft Excel for Windows. If you do not copy and paste the controls in Microsoft Excel for Mac, the controls work when you reopen the file in Microsoft Excel for Windows. Visual Basic for Applications Code May Fail When a Worksheet Contains an ActiveX ControlIn Microsoft Excel for Mac, if you open a workbook and then run a Visual Basic procedure that performs any actions that involve a worksheet that contains an ActiveX Control, you may receive error messages similar to either of the following:
Run-time error '57121':
Can't exit design mode because Control 'CheckBox1' can not be created.
Run-time error '32809':
Application-defined or object-defined error
| Article Translations
|
Back to the top
