is their any way to declare a variable to the type that is stored in a Type varaible.
its easier to explain with code
so the above code should dim b with the same data type as aVB Code:
dim t as type dim a as textbox 'or any thing else t = a.gettype dim b as t 'it not happy with this line (Type t is not defined)
so it that possible to do and i just am doing it the wrong way?





Reply With Quote