What you want is the ParamArray. This will take your list of parameters and
put them into an array. Checking for even numbers and associating source
and target with individual parameters would be up to you.
Do a Google search for - excel paramarray
An alternative is to provide a comma-separated list as a string, and just
split it at the commas using Split.