EditBox Does Not Have LockedText Property (172920)
The information in this article applies to:
- Microsoft Excel for Windows 95 7.0a
- Microsoft Excel for Windows 5.0c
- Microsoft Excel for the Macintosh 5.0a
This article was previously published under Q172920 SYMPTOMS
When you record a macro to toggle the Lock Text check box of an edit box on
a dialog sheet, you may receive the following error message when you run te
macro:
Run-time error '1000':
EditBox does not have LockedText property
If you click Goto on the Macro Error dialog box, a line similar to the
following is selected:
CAUSE
Even though Microsoft Excel records the property, there is no LockedText
property for the EditBox object in the Microsoft Excel Object Library.
WORKAROUND
You must clear the Lock Text check box for an edit box manually. To do
this, follow these steps:
- Right-click the edit box.
- Click Format Object on the shortcut menu.
- On the Protection tab, click to clear the Lock Text check box, and then
click OK.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This problem was corrected in
Microsoft Excel 97 for Windows and Microsoft Excel 98 Macintosh Edition.
Modification Type: | Minor | Last Reviewed: | 10/10/2006 |
---|
Keywords: | kbbug kberrmsg kbmacro kbProgramming KB172920 |
---|
|