Not sure but try...s = "iT_Legend" & CStr(i).. that is, change the integer to a string explicitly.Let us know.