How to 申明公共 variant(編號:4202)

I use Public, 申明公共 variant, in General Delaration area.
Public AA as string
But I found I could not use AA in other forms. How can I do? Why?
Thank you.