>Hi
>
>if I have
>
>Dim s As Series = setupSeries(modelName)
>
>then in a loop I want to ditch that s and set up a new one whats the best way of doing that
>
>if I just repeat the code I get
>
>
>Error 1 Variable 's' hides a variable in an enclosing block.
>
>so what should I be doing.
Redim should be used.