Article ID: 213573 - Last Review: September 12, 2006 - Revision: 3.2 XL2000: "Compile error: Invalid Qualifier" Using "Checked", "Gray", and "Unchecked" in MacrosThis article was previously published under Q213573 SYMPTOMS
When you run a Visual Basic for Applications macro, you may receive the following error message:
Compile error: Invalid Qualifier CAUSE
This problem occurs if the following conditions are true:
WORKAROUND
To work around this problem, use either of the following methods:
MORE INFORMATION
In versions of Microsoft Excel earlier than Excel 97, the words "Checked", "Gray", and "Unchecked" have no special meaning. However, in Microsoft Excel 2000, these three words are global constants belonging to the Stdole Type Library.
Because of this, it is not possible to refer to these constants by enclosing them in brackets when running a macro in Microsoft Excel 2000.
| Article Translations
|
Back to the top
