View Single Post
Old 12-08-2017, 08:55 AM   #9
Mark_
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,491
Thanks: 14
Thanked 272 Times in 270 Posts
Mark_ will become famous soon enough
Re: Declaring adn defininf public variables

As your original code is
Code:
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