W
WillyBilly
Hi,
I am very new to this,
I have a Memo field that contains data between semicolons and I was
hoping to separate this items and put them on on single columns with a
record.
Any tips on a VBA procedure that would help me ?
I am using the following to extract the first string :
Public Function SeparateFirstfield(FieldIn) As String
Dim intX As Integer
intX = InStr(1, [FieldIn], ";")
SeparateFirstfield = Left(FieldIn, intX - 1)
End Function
(thanks to an earlier posting)
and the following to get to the second :
Public Function SeparateTitle1(FieldIn) As String
Dim intX1 As Integer
intX1 = InStr(32, [FieldIn], ";")
SeparateTitle1 = Mid(FieldIn, intX1 + 1, ) *** and I endeup getting
everything else in the field.
any help would be appreciated..
Thanks
I am very new to this,
I have a Memo field that contains data between semicolons and I was
hoping to separate this items and put them on on single columns with a
record.
Any tips on a VBA procedure that would help me ?
I am using the following to extract the first string :
Public Function SeparateFirstfield(FieldIn) As String
Dim intX As Integer
intX = InStr(1, [FieldIn], ";")
SeparateFirstfield = Left(FieldIn, intX - 1)
End Function
(thanks to an earlier posting)
and the following to get to the second :
Public Function SeparateTitle1(FieldIn) As String
Dim intX1 As Integer
intX1 = InStr(32, [FieldIn], ";")
SeparateTitle1 = Mid(FieldIn, intX1 + 1, ) *** and I endeup getting
everything else in the field.
any help would be appreciated..
Thanks