What are possible suffixes after variable name in VBA?

后端 未结 3 1152
我在风中等你
我在风中等你 2020-11-30 11:53

As I\'ve already figured out, there is at least six of them: !@#$%&.

Here is snip:

Dim A!, B@, C#, D$, E%, F&
Debug.Print \"A! - \" & Typ         


        
3条回答
  •  渐次进展
    2020-11-30 12:13

    These are long since deprecated and only remain for backward compatibility AFAIK. Declare your variables as the type required. You can also coerce variables to type.

提交回复
热议问题