Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
For the times when variant contains an integer, how do i convert it to integer type? is it some thing like? ...................... dim varies As Variant dim x As integer if i know varies contains an integer value x = integer(varies) Also can a function which is said to return a variant, return an integer type and the cell calling the function display an integer type or will just appear as a variant type. I know a variant has no specific type but does this mean it can accept various types and which are then tread as the original type or is variant a type in itself, rather than a variable which can be a variety of types? Many thanks James |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I add an integer to an existing integer? | Excel Worksheet Functions | |||
Create number format for 4 digit integer preceded by zero | Excel Worksheet Functions | |||
Date-Format of Dropdown-Combo is integer | Excel Programming | |||
Convert values in a variant array to integer values | Excel Programming | |||
Variant type for Excel cell percentage data format | Excel Programming |