first Get Contents from popuplist
LIST OF STRING ls=popupList.GetContents()
then you can find space is used to be represent something like # whatever
do
PopupList.select(sValue) // sVaure : the value represent space , you can get from ls=popupList.GetContents()
except
for do except
select method will popup an error like control is not responding . Use do except clause to handle this error
Hopefully ,this will solve your question