I am cleaning up some data in an excel file. STUCK! Please help. I know I am missing something goofey!
This column is holding a dimension. The only problem is some dimensions are reports 5' some are reported 60" and some are both 5'2".
So I have the Foot problem taken care of. I want to
If Right(TempStr, 1) = "'" Then
TempStr = Left(TempStr, Len(TempStr) - 1)
End If
Just a number to be reported is fine. We are trying to get everything into feet
Now I want to find out if the last Character in the string is a " (Inch sign) if so I need to do some math. How do I write the IF part...
NONE of these work... What am I missing
If Right(TempStr, 1) = " " " Then
If Right(TempStr, 1) = " ' " ' " Then
If Right(TempStr, 1) = " " Then
If Right(TempStr, 1) = " Then
If Right(TempStr, 1) = ' " ' Then
TIA
This column is holding a dimension. The only problem is some dimensions are reports 5' some are reported 60" and some are both 5'2".
So I have the Foot problem taken care of. I want to
If Right(TempStr, 1) = "'" Then
TempStr = Left(TempStr, Len(TempStr) - 1)
End If
Just a number to be reported is fine. We are trying to get everything into feet
Now I want to find out if the last Character in the string is a " (Inch sign) if so I need to do some math. How do I write the IF part...
NONE of these work... What am I missing
If Right(TempStr, 1) = " " " Then
If Right(TempStr, 1) = " ' " ' " Then
If Right(TempStr, 1) = " " Then
If Right(TempStr, 1) = " Then
If Right(TempStr, 1) = ' " ' Then
TIA