The information in this article applies to:
SYMPTOMSWhen you open a workbook in Microsoft Excel 98 Macintosh Edition and you copy and paste an ActiveX Control or run a Visual Basic for Applications macro, you may receive one or more of the following error messages:
CAUSEThis problem occurs because you cannot use ActiveX Controls (also called OCX files) in Microsoft Excel 98 Macintosh Edition. For specific information about each of these error messages, please see the "More Information" section in this article. MORE INFORMATIONActiveX Controls are not supported in Microsoft Excel 98 Macintosh Edition. 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 98 Macintosh Edition when you use a workbook that contains an ActiveX Control. You Cannot Insert ActiveX Controls in Microsoft Excel 98 Macintosh EditionIn Microsoft Excel 97 for Windows, there are two primary methods you can use to insert an ActiveX Control into a worksheet or into a custom UserForm. These methods are as follows:
Also, you cannot add unlisted controls to the Toolbox when you are working with a UserForm in Microsoft Excel 98 Macintosh Edition. 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 UserForms. Issues Working with Controls Created in Microsoft Excel 97 for WindowsBehavior of Controls in Microsoft Excel 98 Macintosh Edition:If you are working with a workbook that was created or modified in Microsoft Excel 97 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 98 Macintosh Edition. Or, if you are working with a workbook that contains a UserForm 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 UserForms in Microsoft Excel 98 Macintosh Edition. The two known issues that may occur when you open such a workbook in Microsoft Excel 98 Macintosh Edition are as follows:
If you attempt to copy and paste a control by copying the cells behind the control, you may receive the following error message: Or, the control may be pasted correctly but does not work when you click it. If you copy and paste a control, save the workbook, and then reopen the workbook in Microsoft Excel 97 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 97 for Windows. If you do not copy and paste the controls in Microsoft Excel 98 Macintosh Edition, the controls work when you reopen the file in Microsoft Excel 97. Visual Basic for Applications Code May Fail When a Worksheet Contains an ActiveX ControlIn Microsoft Excel 98 Macintosh Edition, 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:
For example, the error may occur when you run a macro that contains one of the following lines of code:
If these problems occur, open the workbook in Microsoft Excel 97 for
Windows and remove the ActiveX Controls from the worksheet. After you
remove the controls and save the workbook, the problems do not occur in
Microsoft Excel 98 Macintosh Edition.
Additional query words: XL98
Keywords : kberrmsg kbprg xlloadsave xlvbainfo xldraw |
Last Reviewed: August 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |