Mail Merge - Comma delimited data into table

O

ocbarney

Hi There...
I've a got lovely little word merge issue.

I am using an Excel data source - I have many different values entered
in 1 cell, delimited by commas. Looks like this...

Cell1
"String 1", "String 2", "String 3", "String 4"

Is there anyway to Merge this data into a table in Word to make each
field it's own column. I.e., the finished product looking like

Table1
Column1 Column2 Column3 Column 4
String1 String2 String 3 String 4

I've tried using the Convert Text to Table feature but it inserts all
lines into one column of the Table. My data will always contain the
same number of columns and delimiters. Is it possible to accomplish
this with IF Statements? Another way perhaps?

Thanks in advance!
-p
 
O

ocbarney

Thanks for the response.
I have changed the delimiter to comma.
Do you know if Convert Text to Table will work in a mail merge
situation?

Perhaps I could go another route. I know Word doesn't have a Substr
function - but do you know of any other method that would extract
specific values from position X to the first comma?

Thanks for your help
-p
 
D

Doug Robbins - Word MVP

I am not really sure what you are trying to do, but I think you can do what
you want by simply selecting and copying the range of cells in Excel, then
pasting into Word, then select the resulting table and convert it to text,
then select the text and convert it back to a table using comma as the
delimiter.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top