S
Salad
One of my code lines is
If objFolder.Items(I).Class = 43 Then
How do I find the name of the constant 43?
If I go to the object browser and select Class, press F1 and read the
topic, there's an option for OlObjectClass Constants hyperlink in
"Returns an OlObjectClass constant indicating the object's class.
Read-only.:" I get a list of all the contants but no values, just the
names of them.
Or, I might go to the immediate window and enter
? olFlagComplete
and I get a message box "The macros in this project are disabled..." I
simply want to get the value of something. Is there a way to get the
value of a constant?
If objFolder.Items(I).Class = 43 Then
How do I find the name of the constant 43?
If I go to the object browser and select Class, press F1 and read the
topic, there's an option for OlObjectClass Constants hyperlink in
"Returns an OlObjectClass constant indicating the object's class.
Read-only.:" I get a list of all the contants but no values, just the
names of them.
Or, I might go to the immediate window and enter
? olFlagComplete
and I get a message box "The macros in this project are disabled..." I
simply want to get the value of something. Is there a way to get the
value of a constant?