Article ID: 181569
Article Last Modified on 9/11/2002
ActiveSheet.Shapes.AddShape(msoShapeRectangle, 27.75, 6#, _
223#, 118#).Select
115#
Sub Test()
Dim X As Integer
X = 3.0 + 5.0
End Sub
When you enter the third line of code, the values in the line are converted
into the Double type:
X = 3# + 5#This is an automatic feature in Visual Basic for Applications. If you enter the following line of code instead
X = 3 + 5the values are not converted into the Double type, because the values do not end in ".0."
Additional query words: XL98 single variant integer long pound symbol
Keywords: kbprb KB181569