Please fix a bug of this search Macro

Guys,

I'm working witha project, through which a user can insert a block from fixed location.

I've used comboboxes but unable to link it with the search loaction.

Please check and suggest.

(please find the attachement below)

SolidworksApi macros