One method:
Query:
SELECT Table1.Dimensions, GetWidth([Dimensions]) AS Width, GetLength([Dimensions]) AS Length, GetHeight([Dimensions]) AS Height
FROM Table1;
In a new module in VBA:
Code:
Public Function GetWidth(Dimensions)
If IsNull(Dimensions) Or Dimensions = "" Then Exit Function
Dim x As Integer
x = InStr(Dimensions, "x")
GetWidth = Left(Dimensions, x - 2)
End Function
Public Function GetLength(Dimensions)
If IsNull(Dimensions) Or Dimensions = "" Then Exit Function
Dim x As Integer, y As Integer
x = InStr(Dimensions, "x")
y = InStr(x + 1, Dimensions, "x")
GetLength = Mid(Dimensions, x + 2, y - 2 - x)
End Function
Public Function GetHeight(Dimensions)
If IsNull(Dimensions) Or Dimensions = "" Then Exit Function
Dim x As Integer, y As Integer
x = InStr(Dimensions, "x")
y = InStr(x + 1, Dimensions, "x")
GetHeight = Right(Dimensions, Len(Dimensions) - y - 1)
End Function