Hi,
i cannot solve this problem :
1) I have Listbox named Listbox1.
2) By clicking on it i can highlight for example row number 6.
3) Then I have button which do this :
Me.listbox1.Selected(3) = True
Ok, it works - row is highlighted right. But problem started when i run code : Me.listbox1.requery. Highlighting skips back to the previous row number 6.
But I need the highlighting stays at choosed number 3.
Can you help me with it?
Thank you
Jiri
i cannot solve this problem :
1) I have Listbox named Listbox1.
2) By clicking on it i can highlight for example row number 6.
3) Then I have button which do this :
Me.listbox1.Selected(3) = True
Ok, it works - row is highlighted right. But problem started when i run code : Me.listbox1.requery. Highlighting skips back to the previous row number 6.
But I need the highlighting stays at choosed number 3.
Can you help me with it?
Thank you
Jiri