View Single Post
Old 12-08-2017, 08:55 AM   #9
Longboard on the internet
Join Date: Sep 2017
Location: Not the middle of no where, but I can see the road to it from my house.
Posts: 1,863
Thanks: 17
Thanked 352 Times in 349 Posts
Mark_ will become famous soon enough Mark_ will become famous soon enough
Re: Declaring adn defininf public variables

As your original code is
Public StrTier1, StrTier11  As String
StrTier1 = "Category"
StrTier11 = "category"
are you trying to create constants? If so you would use CONST.

Public Const StrTier1 as String = "Category"
Public Const StrTier11 as String = "category"

In this case I'd use C_Tier1 and C_Tier11 so you know your dealing with a Constant that you added.
Mark_ is offline   Reply With Quote