发现有两种方法定义全局变量
在全局代码中定义全局变量
Public _UserName As StringPublic _UserGroup As String
和在全局变量窗口定义的全局变量有啥区别