The max number of characters you can use in string in a vba function is 255. I am trying to run this function
Var1= 1 Var2= 2 . . . Var256 =256 RunMacros=
Are you sure? This forum thread suggests it might be your watch window. Try outputting the string to a MsgBox, which can display a maximum of 1024 characters:
MsgBox RunMacros