The VBA procedure should be a Sub and the parameter must be concatenated outside quote marks like shown in original post. The converted code is button click event not listbox click as in original post. Converted code references field not listbox as parameter.