Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am combining 2 lists in 2 columns in XL. The index in both lists is
in the format: 01-Adams. There is one for each county in the state. I want to know how to convert the 01 text part to a numeric value to compare to another one and determine where they should be in a table. If I do a strOrigCtyNo = Right(strOrig, Len(strOrig) + 2) I believe it will give me the first 2 characters of the code. How do I convert them to an integer constant to compare them, or do I even have to? If I remember right from my old programming days, comparing numbers in ASCII sometimes gives different results from comparing numbers. Is that still true in VBA? What is the best way to proceed here? Thanks again! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
convert a numeric number in text format in another cell? | Excel Worksheet Functions | |||
Extract just numeric part of mixed text/number entry? | Excel Worksheet Functions | |||
Numeric in Text to convert back to the form of Numeric for VLookup Purposes | Excel Discussion (Misc queries) | |||
how can I convert numeric number into text | Excel Discussion (Misc queries) | |||
convert a number in Excel from numeric to text, i.e. "1" to "one" | Excel Worksheet Functions |