If I remove the parenthesis around your Input definition (leaving only an array of arrays) the behavior changes. Every second click gives Output = Input, but if you change a value in Input, the first click doesn't work too well. (I'm not a VBscript guy, so you're on your own. . .