T
tskogstrom
Hi helpful mates,
I have a string in a cell, SK0204-167
0204 means year 2002 month april (04)
I need to find out if the cell represend BEFORE 200204 (SK0203-167
should give TRUE")
I guess if a cell beside could show 2002-04 as dateformat YYYY-MM, I
could just use > = < etc.
But how? Using a MID() function in the cell and added following
function upon it, but am stucked.
Function ConvertTextToValue(str As String)
'*************************************************
ConvertTextToValue = str * 1
End Function
I have a string in a cell, SK0204-167
0204 means year 2002 month april (04)
I need to find out if the cell represend BEFORE 200204 (SK0203-167
should give TRUE")
I guess if a cell beside could show 2002-04 as dateformat YYYY-MM, I
could just use > = < etc.
But how? Using a MID() function in the cell and added following
function upon it, but am stucked.
Function ConvertTextToValue(str As String)
'*************************************************
ConvertTextToValue = str * 1
End Function