S
Sam
Hey everybody.
It's a simple thing that I want to do. I have list box populated from table.
I want to be able to choose a sertain row from list box and according to
selection put ID field's value to variable. Example below.
NAME ID
s | 1
f | 2
g | 3
So from example list box if I choose the second row (NAME=f) I want to put
'2' to variable. I'm pretty sure this is not hard to do, but I haven't done
VBA for a long time. Can someone help me a bit here?
It's a simple thing that I want to do. I have list box populated from table.
I want to be able to choose a sertain row from list box and according to
selection put ID field's value to variable. Example below.
NAME ID
s | 1
f | 2
g | 3
So from example list box if I choose the second row (NAME=f) I want to put
'2' to variable. I'm pretty sure this is not hard to do, but I haven't done
VBA for a long time. Can someone help me a bit here?