L
Lurka
Hello,
I have a problem with a database imported from Lotus Notes. It
contains multi-entry fields, thus many cells have comma-separated
content, which counts as multiple records.
I need to create single records from each multi-entry field. Text-to-
column function is unsuitable, because I need to create new records
from each cell (not new columns). I was thinking about a script that:
1) parses the content of the selected cell until it finds a given
field separator (e.g. comma+space)
2) cuts the remainder of the cell
3) inserts a new row below the current one
4) copies the cut content in the corresponding cell of the new row
5) copies the other cells of the record in the new row
6) repeats process from step 1 on the same cell of the new row
7) continues with next row when it finishes parsing the cell for field
separators
Details like eliminating leftover comma+space from cells can be taken
care of manually afterwards.
Can you please suggest a VB Script to perform the operation?
Thank you very much,
/_urka
I have a problem with a database imported from Lotus Notes. It
contains multi-entry fields, thus many cells have comma-separated
content, which counts as multiple records.
I need to create single records from each multi-entry field. Text-to-
column function is unsuitable, because I need to create new records
from each cell (not new columns). I was thinking about a script that:
1) parses the content of the selected cell until it finds a given
field separator (e.g. comma+space)
2) cuts the remainder of the cell
3) inserts a new row below the current one
4) copies the cut content in the corresponding cell of the new row
5) copies the other cells of the record in the new row
6) repeats process from step 1 on the same cell of the new row
7) continues with next row when it finishes parsing the cell for field
separators
Details like eliminating leftover comma+space from cells can be taken
care of manually afterwards.
Can you please suggest a VB Script to perform the operation?
Thank you very much,
/_urka