PSS ID Number: 111668
Article Last Modified on 1/17/2001
?<varname>
Type Phone
Area as Integer
End Type
The following is an example of a statement that declares the variable
X as the user-defined data type PHONE:
Dim X as PhoneIf you type this statement in the Immediate pane, you receive the following error message: Additionally, if a procedure is running when you type this statement in the Immediate pane, you cannot return the value of any variable defined in your procedure by typing the name of the variable in the Immediate pane. You must run the procedure again to return the correct value of your variable by typing it in the Immediate pane.
user-defined type
type
Keywords: KB111668
Technology: kbVBA100 kbVBASearch kbZNotKeyword3 kbZNotKeyword6