Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
difficulty with conversion program
HI All, I am trying to run this little program. It runs without any proble apparently, but do not put value in textbox2. Any help would be appreciated. Thanks Syed If ComboBox1.Value = "KG" & ComboBox2.Value = "Pounds" Then TextBox2.Value = Format(TextBox1.Value / 2.2046, "00.00") ElseIf ComboBox1.Value = "Pounds" & ComboBox2.Value = "KG" Then TextBox2.Value = Format(TextBox1.Value * 2.2046, "00.00") End I -- sazi ----------------------------------------------------------------------- saziz's Profile: http://www.excelforum.com/member.php...nfo&userid=635 View this thread: http://www.excelforum.com/showthread.php?threadid=39928 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
difficulty with conversion program
How about replacing the & characters with AND ?
RBS "saziz" wrote in message ... HI All, I am trying to run this little program. It runs without any problem apparently, but do not put value in textbox2. Any help would be appreciated. Thanks Syed If ComboBox1.Value = "KG" & ComboBox2.Value = "Pounds" Then TextBox2.Value = Format(TextBox1.Value / 2.2046, "00.00") ElseIf ComboBox1.Value = "Pounds" & ComboBox2.Value = "KG" Then TextBox2.Value = Format(TextBox1.Value * 2.2046, "00.00") End If -- saziz ------------------------------------------------------------------------ saziz's Profile: http://www.excelforum.com/member.php...fo&userid=6350 View this thread: http://www.excelforum.com/showthread...hreadid=399281 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
difficulty with conversion program
Thanks RBS That worked. Syed -- saziz ------------------------------------------------------------------------ saziz's Profile: http://www.excelforum.com/member.php...fo&userid=6350 View this thread: http://www.excelforum.com/showthread...hreadid=399281 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
SUMPRODUCT Difficulty | Excel Worksheet Functions | |||
VLOOKUP Difficulty | Excel Discussion (Misc queries) | |||
Difficulty with MOD operator when using Mod 1 | Excel Programming | |||
IF Statement difficulty | Excel Worksheet Functions | |||
merging excel program with tdc finance program | Excel Programming |