Even if you could do this (which you can't), it would be extremely poor programming practice.
You should DIM each variable to the type it is to be. This reduces the amount of memory required. It also makes you aware of some coding errors at design time instead of at run time.
HTH
Keith
Even if you could do this (which you can't), it would be extremely poor programming practice.
You should DIM each variable to the type it is to be. This reduces the amount of memory required. It also makes you aware of some coding errors at design time instead of at run time.
HTH
Keith