For some reason when I type
Dim version
version = 1.0
in the vb editior in excel, the editor automatically changes it to
Dim version
version = 1#
Any idea why?
For some reason when I type
Dim version
version = 1.0
in the vb editior in excel, the editor automatically changes it to
Dim version
version = 1#
Any idea why?
version = 1# tells the compiler to assign a double.
The Documentation defines other suffixes:
1! is a Single1@ is a Currency1 is also a double in the context of assigning to a double variable