XL97: Problem with ActiveX Control After Moving Sheet (168848)



The information in this article applies to:

  • Microsoft Excel 97 for Windows

This article was previously published under Q168848

SYMPTOMS

When you click a control on a worksheet, its image becomes shaded (hash marks) and the macro code that you assigned to the control may or may not run. Additionally, when pointing to the ActiveX control, your mouse pointer (cursor) changes to a four-way arrow.

CAUSE

This problem occurs when you move a worksheet that contains ActiveX controls to a new workbook.

RESOLUTION

To correct this problem, save, close, and then open the workbook in which you moved controls. When you open the new workbook, the controls will work properly.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

MORE INFORMATION

Microsoft Excel 97 includes ActiveX controls that can be inserted into your worksheet. These controls are located on the Control Toolbox toolbar. However, when you move a worksheet containing these controls to a new workbook, the controls will not behave correctly until you save and close the workbook. When you open the workbook, the ActiveX controls will behave correctly.

For additional information on using ActiveX controls, please see the following article in the Microsoft Knowledge Base:

157416 XL97: How to Assign a Macro to an ActiveX Worksheet Control

REFERENCES

For more information about ActiveX controls, click the Index tab in Microsoft Visual Basic Help, type the following text

Toolbox

and then double-click the selected text to go to the "Toolbox" topic.

Modification Type:MajorLast Reviewed:10/22/2000
Keywords:kbprb kbProgramming KB168848