문제

I have a list and I trigger a function on list element click. Is there a solution to know which element has been clicked in my vba sub ?

도움이 되었습니까?

해결책

You can use <listname>.Listindex if you have a single-select list : Listindex

If you have a multi-select list, use <listname>.ItemSelected and iterate over the set : ItemSelected

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top