I can't seem to get a public variable to maintain the values it should throughout my Excel Visual basic routine. For example:
public Bigg as integer ''declared the variable bigg
Private sub x
bigg=3
end sub
Private sub y
bigg=bigg ''got bigg = 0 ...didn't carry the value 3 as assigned in sub x
end sub
So, do you see what I am doing wrong here? Any help would be appreciated.
public Bigg as integer ''declared the variable bigg
Private sub x
bigg=3
end sub
Private sub y
bigg=bigg ''got bigg = 0 ...didn't carry the value 3 as assigned in sub x
end sub
So, do you see what I am doing wrong here? Any help would be appreciated.
Comment