Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I am using excel 2002. I want to compare a string variable with an integer variable. i.e. dim i as integer i=1 dim s as string s="1" if i = s then ........... else ...... end if however, when I run this macro, a error occur. how should I compare the variable with two different format ? -- hurriance ------------------------------------------------------------------------ hurriance's Profile: http://www.excelforum.com/member.php...o&userid=30882 View this thread: http://www.excelforum.com/showthread...hreadid=555450 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Concatenating a string and an integer | Excel Programming | |||
Concatenate two variables (String & Integer) | Excel Programming | |||
ListBox2.AddItem ListBox1.Value becomes a String when being Integer? | Excel Programming | |||
Declaring variables (Long, String, Integer) and interpretation spe | Excel Programming | |||
Is there a function to convert a string representing an integer i. | Excel Programming |