Thread: Variable
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Variable

You can use it if you wish, but it is just declares num1 and num2 as variant
types, not single.

If you need them all as single, then do it as per your second example.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"alvin Kuiper" wrote in message
...
Hi
Why can't i use this:
Dim num, num2, num3 as single ?

Shall i use this:

Dim num as single, num2 as single, num3 as single??????????

regards
alvin