i am trying to write a little procedure that redims a variable.
I need this procedure to take a variable name and then use that to redim the variable to somthing usefull
e.g.
______________________________________________
sub RedimTheVariable(VariabletoBeRidimmed as ?????)
redim preserve variableToBeRedimmed(1 to 50)
end sub
sub cmdAButton_Click
Dim AVariable() as string
RedimtheVariable(AVariable)
end sub
______________________________________________
the function does a couple of other things too, but I need to be able to point to the variable so I can use my procedure across difference projects.
thanks
____\o/_______ HELP ~~~ME ~~~~
I need this procedure to take a variable name and then use that to redim the variable to somthing usefull
e.g.
______________________________________________
sub RedimTheVariable(VariabletoBeRidimmed as ?????)
redim preserve variableToBeRedimmed(1 to 50)
end sub
sub cmdAButton_Click
Dim AVariable() as string
RedimtheVariable(AVariable)
end sub
______________________________________________
the function does a couple of other things too, but I need to be able to point to the variable so I can use my procedure across difference projects.
thanks
____\o/_______ HELP ~~~ME ~~~~