OFF2000: Error Message: "Could Not Set the Name Property..." When Naming Control in UserForm (220613)
The information in this article applies to:
- Microsoft Excel 2000
- Microsoft Outlook 2000
- Microsoft PowerPoint 2000
- Microsoft Word 2000
This article was previously published under Q220613 SYMPTOMS
When you create a UserForm in Microsoft Visual Basic for Applications, the following error message appears:
Could not set the name property. Ambiguous name.
Then your insertion point becomes a circle with a diagonal line through it, and the Visual Basic Editor appears to stop responding (hang). You can press the ESC key to return to a normal insertion point.
CAUSE
This problem occurs when the following are true:
- You set the Name property of a control to the name of an existing control.
-and-
- You then click another control on the UserForm rather than pressing ENTER.
WORKAROUND
To work around this problem, always press ENTER when you set the Name property of a control on a UserForm.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. REFERENCESFor more information about UserForms, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type UserForms in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbbug kberrmsg kbpending KB220613 |
---|
|