[RESOLVED] Quick silly vb question!
First of all , sorry to waste a thread on this!
I can't remember how to do this...
when you dim something so in your code you can do it like..
dim item(size as string, link as string, value as string)
item.size = blah
item.link = blah
item.value = blah
Basicly so when you put a . it will show you the list of things you dimmed
Re: Quick silly vb question!
Probably You are talkin about : Type as:
Code:
Public Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type
Then, You can declare any other variable as the defined Type
And when You write XXX. appears Left, Top, Right,Bottom
Re: Quick silly vb question!
Wouldn't that be a structure, you dim your structure and then dim a variable as that structure and go from there?
Re: Quick silly vb question!
Looks like a Type expression
Code:
Type myitem
size As String
link As String
value As String
End Type
Dim item As myitem
'
'
Privaye Sub SomeSub()
item.size = blah
'
'
End Sub
Re: Quick silly vb question!
thanks guys thats what i needed