Click to See Complete Forum and Search --> : Long in a variant


BrianEKeating
May 21st, 2001, 07:30 AM
Hi there,
does anyone know how i can put a number in a variant with a type as VT_I4 ?


i.e.

Dim X as Variant

X = 2

???


Thanks for any help

b




Of course I do it for the ratings!

cksiow
May 21st, 2001, 09:21 AM
not sure if this what u means

dim x as long
dim y as variant

x = 4
y = x

HTH

cksiow
http://vblib.virtualave.net - share our codes