|
| View previous topic :: View next topic |
| Author |
Message |
EmilyR Guest
|
Posted: Thu Dec 20, 2007 4:17 am Post subject: Merge Excel to Word field extension |
|
|
I've had a problem with mail merging data from Excel into Word. It'll take
over some of the data but can leave part of the information off. I have just
come to the conclusion that this is because it will only take 255 characters
from a particular Excel cell to Word.
Can anyone help in either extending the amount of characters or some other
way to fix it??
Thanks in advance
Emily |
|
| Back to top |
|
 |
Google Sponsor

|
Posted: Thu Dec 20, 2007 4:17 am Post subject: Advertisement |
|
|
|
|
| Back to top |
|
 |
Peter Jamieson Guest
|
Posted: Thu Dec 20, 2007 7:05 am Post subject: Re: Merge Excel to Word field extension |
|
|
See http://tips.pjmsn.me.uk/t0003.htm
You probably need to try the "DDE" method mentioned near the top.
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:8AC641D2-D2D7-48B9-83FC-DF55D1F3E255@microsoft.com...
| Quote: | I've had a problem with mail merging data from Excel into Word. It'll
take
over some of the data but can leave part of the information off. I have
just
come to the conclusion that this is because it will only take 255
characters
from a particular Excel cell to Word.
Can anyone help in either extending the amount of characters or some other
way to fix it??
Thanks in advance
Emily |
|
|
| Back to top |
|
 |
EmilyR Guest
|
Posted: Sat Dec 22, 2007 12:20 am Post subject: Re: Merge Excel to Word field extension |
|
|
thanks Peter,
I'm not sure if this sort of thing will work, as we are merging sheet 1 & 2
seperately but with the intention of sorta doin the same thing.
I've figured out that the cell information stops at 255 characters when
converted int Word. I somehow need to extend this amount if possible,
unfortunately theahrsh reality looks like I can't do that and will need to
split the cells. Only problems there is there is so much data in the column
that this is a problem with, it doesn't seem viable.
Any ideas??
"Peter Jamieson" wrote:
| Quote: | See http://tips.pjmsn.me.uk/t0003.htm
You probably need to try the "DDE" method mentioned near the top.
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:8AC641D2-D2D7-48B9-83FC-DF55D1F3E255@microsoft.com...
I've had a problem with mail merging data from Excel into Word. It'll
take
over some of the data but can leave part of the information off. I have
just
come to the conclusion that this is because it will only take 255
characters
from a particular Excel cell to Word.
Can anyone help in either extending the amount of characters or some other
way to fix it??
Thanks in advance
Emily
|
|
|
| Back to top |
|
 |
Peter Jamieson Guest
|
Posted: Sat Dec 22, 2007 9:31 am Post subject: Re: Merge Excel to Word field extension |
|
|
1. Is it stopping at 255 using DDE?
2. (I'm assuming that you have the space on the label to fit those 255
characters )
3. Are you in a position to decide what mail merge data source you start
with? If you only have a small number of columns in Excel (less than around
64) you should be able to copy/paste your Excel data into a new Word
document and use that as the data source.
| Quote: | I'm not sure if this sort of thing will work, as we are merging sheet 1 &
2
seperately but with the intention of sorta doin the same thing.
|
Why does doing two merges make a difference?
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:231178CB-825B-4E46-9BC5-C5FA88EB9DCA@microsoft.com...
| Quote: | thanks Peter,
I'm not sure if this sort of thing will work, as we are merging sheet 1 &
2
seperately but with the intention of sorta doin the same thing.
I've figured out that the cell information stops at 255 characters when
converted int Word. I somehow need to extend this amount if possible,
unfortunately theahrsh reality looks like I can't do that and will need to
split the cells. Only problems there is there is so much data in the
column
that this is a problem with, it doesn't seem viable.
Any ideas??
"Peter Jamieson" wrote:
See http://tips.pjmsn.me.uk/t0003.htm
You probably need to try the "DDE" method mentioned near the top.
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:8AC641D2-D2D7-48B9-83FC-DF55D1F3E255@microsoft.com...
I've had a problem with mail merging data from Excel into Word. It'll
take
over some of the data but can leave part of the information off. I
have
just
come to the conclusion that this is because it will only take 255
characters
from a particular Excel cell to Word.
Can anyone help in either extending the amount of characters or some
other
way to fix it??
Thanks in advance
Emily
|
|
|
| Back to top |
|
 |
EmilyR Guest
|
Posted: Sun Dec 23, 2007 4:32 am Post subject: Re: Merge Excel to Word field extension |
|
|
I'll have to look into the DDE bit,
the work we are doing is typing info into an excel spreadsheet, then merging
it over to Word, each line in a separate document, and then each document is
being downloaded onto our website.
Which with the amt of rows in each spreadsheet, it would be too difficult to
copy and paste all of them. I've also been told that the boss doesn't want
to seperate the information into 2 columns, which makes it even harder.
Thnaks very much
"Peter Jamieson" wrote:
| Quote: | 1. Is it stopping at 255 using DDE?
2. (I'm assuming that you have the space on the label to fit those 255
characters )
3. Are you in a position to decide what mail merge data source you start
with? If you only have a small number of columns in Excel (less than around
64) you should be able to copy/paste your Excel data into a new Word
document and use that as the data source.
I'm not sure if this sort of thing will work, as we are merging sheet 1 &
2
seperately but with the intention of sorta doin the same thing.
Why does doing two merges make a difference?
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:231178CB-825B-4E46-9BC5-C5FA88EB9DCA@microsoft.com...
thanks Peter,
I'm not sure if this sort of thing will work, as we are merging sheet 1 &
2
seperately but with the intention of sorta doin the same thing.
I've figured out that the cell information stops at 255 characters when
converted int Word. I somehow need to extend this amount if possible,
unfortunately theahrsh reality looks like I can't do that and will need to
split the cells. Only problems there is there is so much data in the
column
that this is a problem with, it doesn't seem viable.
Any ideas??
"Peter Jamieson" wrote:
See http://tips.pjmsn.me.uk/t0003.htm
You probably need to try the "DDE" method mentioned near the top.
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:8AC641D2-D2D7-48B9-83FC-DF55D1F3E255@microsoft.com...
I've had a problem with mail merging data from Excel into Word. It'll
take
over some of the data but can leave part of the information off. I
have
just
come to the conclusion that this is because it will only take 255
characters
from a particular Excel cell to Word.
Can anyone help in either extending the amount of characters or some
other
way to fix it??
Thanks in advance
Emily
|
|
|
| Back to top |
|
 |
EmilyR Guest
|
Posted: Sun Dec 23, 2007 4:34 am Post subject: Re: Merge Excel to Word field extension |
|
|
"EmilyR" wrote:
| Quote: | I'll have to look into the DDE bit,
the work we are doing is typing info into an excel spreadsheet, then merging
it over to Word, each line in a separate document, and then each document is
being downloaded onto our website.
Which with the amt of rows in each spreadsheet, it would be too difficult to
copy and paste all of them. I've also been told that the boss doesn't want
to seperate the information into 2 columns, which makes it even harder.
Thnaks very much
"Peter Jamieson" wrote:
1. Is it stopping at 255 using DDE?
2. (I'm assuming that you have the space on the label to fit those 255
characters )
3. Are you in a position to decide what mail merge data source you start
with? If you only have a small number of columns in Excel (less than around
64) you should be able to copy/paste your Excel data into a new Word
document and use that as the data source.
I'm not sure if this sort of thing will work, as we are merging sheet 1 &
2
seperately but with the intention of sorta doin the same thing.
Why does doing two merges make a difference?
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:231178CB-825B-4E46-9BC5-C5FA88EB9DCA@microsoft.com...
thanks Peter,
I'm not sure if this sort of thing will work, as we are merging sheet 1 &
2
seperately but with the intention of sorta doin the same thing.
I've figured out that the cell information stops at 255 characters when
converted int Word. I somehow need to extend this amount if possible,
unfortunately theahrsh reality looks like I can't do that and will need to
split the cells. Only problems there is there is so much data in the
column
that this is a problem with, it doesn't seem viable.
Any ideas??
"Peter Jamieson" wrote:
See http://tips.pjmsn.me.uk/t0003.htm
You probably need to try the "DDE" method mentioned near the top.
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:8AC641D2-D2D7-48B9-83FC-DF55D1F3E255@microsoft.com...
I've had a problem with mail merging data from Excel into Word. It'll
take
over some of the data but can leave part of the information off. I
have
just
come to the conclusion that this is because it will only take 255
characters
from a particular Excel cell to Word.
Can anyone help in either extending the amount of characters or some
other
way to fix it??
Thanks in advance
Emily
|
|
|
| Back to top |
|
 |
Peter Jamieson Guest
|
Posted: Sun Dec 23, 2007 6:38 pm Post subject: Re: Merge Excel to Word field extension |
|
|
So are you
a. typing data into a 1 row Excel sheet, then merging that into a Word
document, then doing another row, or
b. typing multiple rows of data into an Excel sheet, then doing as many
merges as you have rows in the sheet, or
c. typing multiple rows into an Excel sheet, then doing one merge, then
splitting the output, or
d. what?
If you are typing multiple rows into an Excel sheet and you want to produce
1 document per record, your best bet is probably either to
a. do the merge, then split the output (see
http://www.gmayor.com/individual_merge_letters.htm ) or
b. use a VBA macro to do one merge per record. (I suspect in this case (a)
wpould give you everything you need but I can provide macro code for (b), or
you can search for it in this group (e.g. look for jamieson activerecord)
If you have only one -row spreadsheets as data sources, it surprises me that
you are only getting 255 characters through. I'd need to check again what
happens in that case. If you have multiple rows but all the first 8 have
fewer than 255 characters in the column in question, you would see the rest
of the rows truncate to 255 characters - all you /should/ need to do in that
case is introduce a dummy row someehere in the first 8 rows with more than
255 characters.
However, even if you cna't get the Excel data source to work, it really
should be quite easy to copy the entire data source into Word by selecting
the sheet, Edit|Copy, open a new Word document, Edit|Past. You don't have to
do a line by line copy. (Of course this is no use if you are creting one-row
spreadsheets).
| Quote: | I've also been told that the boss doesn't want
to seperate the information into 2 columns, which makes it even harder.
|
Sorry, can't deal with that sort of stuff from here...
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:2166CB40-844F-4F65-A887-F07EDFE46527@microsoft.com...
| Quote: | I'll have to look into the DDE bit,
the work we are doing is typing info into an excel spreadsheet, then
merging
it over to Word, each line in a separate document, and then each document
is
being downloaded onto our website.
Which with the amt of rows in each spreadsheet, it would be too difficult
to
copy and paste all of them. I've also been told that the boss doesn't
want
to seperate the information into 2 columns, which makes it even harder.
Thnaks very much
"Peter Jamieson" wrote:
1. Is it stopping at 255 using DDE?
2. (I'm assuming that you have the space on the label to fit those 255
characters )
3. Are you in a position to decide what mail merge data source you start
with? If you only have a small number of columns in Excel (less than
around
64) you should be able to copy/paste your Excel data into a new Word
document and use that as the data source.
I'm not sure if this sort of thing will work, as we are merging sheet 1
&
2
seperately but with the intention of sorta doin the same thing.
Why does doing two merges make a difference?
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:231178CB-825B-4E46-9BC5-C5FA88EB9DCA@microsoft.com...
thanks Peter,
I'm not sure if this sort of thing will work, as we are merging sheet 1
&
2
seperately but with the intention of sorta doin the same thing.
I've figured out that the cell information stops at 255 characters when
converted int Word. I somehow need to extend this amount if possible,
unfortunately theahrsh reality looks like I can't do that and will need
to
split the cells. Only problems there is there is so much data in the
column
that this is a problem with, it doesn't seem viable.
Any ideas??
"Peter Jamieson" wrote:
See http://tips.pjmsn.me.uk/t0003.htm
You probably need to try the "DDE" method mentioned near the top.
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:8AC641D2-D2D7-48B9-83FC-DF55D1F3E255@microsoft.com...
I've had a problem with mail merging data from Excel into Word.
It'll
take
over some of the data but can leave part of the information off. I
have
just
come to the conclusion that this is because it will only take 255
characters
from a particular Excel cell to Word.
Can anyone help in either extending the amount of characters or some
other
way to fix it??
Thanks in advance
Emily
|
|
|
| Back to top |
|
 |
EmilyR Guest
|
Posted: Mon Dec 24, 2007 2:01 am Post subject: Re: Merge Excel to Word field extension |
|
|
We are typing data into the excel spreadsheet, each item has 1 row to fit
all the information.
Once we have the info we need in Excel, we go through our files, open the
word document, which has a pop up saying that
"Opening this document will run the following SQL command"
"Select * from 'STOCK$' "
"Data from your database will be placed in the document. Do you want to
continue?" Clcik yes, then select the Excel sheet we want it to link to. The
document then opens with the template, and we create the mail merge. Tools,
Mail Merge, edit recipient list, then tick the box next to the item that it
relates to.
Then when it's loaded the information we can see that 1 area only brings
over 255 characters from the cell.
In excel, sheet 1, so far we've used 321 rows for our items, and using up to
column 'BF'. The column that isn't coming through properly is 'Z', so we do
have a lot of data in there.
I hope this explains what we are trying to do???!!!!
I'll have a look at those links you've provided now and see how i go.. will
be in touch
"Peter Jamieson" wrote:
| Quote: | So are you
a. typing data into a 1 row Excel sheet, then merging that into a Word
document, then doing another row, or
b. typing multiple rows of data into an Excel sheet, then doing as many
merges as you have rows in the sheet, or
c. typing multiple rows into an Excel sheet, then doing one merge, then
splitting the output, or
d. what?
If you are typing multiple rows into an Excel sheet and you want to produce
1 document per record, your best bet is probably either to
a. do the merge, then split the output (see
http://www.gmayor.com/individual_merge_letters.htm ) or
b. use a VBA macro to do one merge per record. (I suspect in this case (a)
wpould give you everything you need but I can provide macro code for (b), or
you can search for it in this group (e.g. look for jamieson activerecord)
If you have only one -row spreadsheets as data sources, it surprises me that
you are only getting 255 characters through. I'd need to check again what
happens in that case. If you have multiple rows but all the first 8 have
fewer than 255 characters in the column in question, you would see the rest
of the rows truncate to 255 characters - all you /should/ need to do in that
case is introduce a dummy row someehere in the first 8 rows with more than
255 characters.
However, even if you cna't get the Excel data source to work, it really
should be quite easy to copy the entire data source into Word by selecting
the sheet, Edit|Copy, open a new Word document, Edit|Past. You don't have to
do a line by line copy. (Of course this is no use if you are creting one-row
spreadsheets).
I've also been told that the boss doesn't want
to seperate the information into 2 columns, which makes it even harder.
Sorry, can't deal with that sort of stuff from here...
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:2166CB40-844F-4F65-A887-F07EDFE46527@microsoft.com...
I'll have to look into the DDE bit,
the work we are doing is typing info into an excel spreadsheet, then
merging
it over to Word, each line in a separate document, and then each document
is
being downloaded onto our website.
Which with the amt of rows in each spreadsheet, it would be too difficult
to
copy and paste all of them. I've also been told that the boss doesn't
want
to seperate the information into 2 columns, which makes it even harder.
Thnaks very much
"Peter Jamieson" wrote:
1. Is it stopping at 255 using DDE?
2. (I'm assuming that you have the space on the label to fit those 255
characters )
3. Are you in a position to decide what mail merge data source you start
with? If you only have a small number of columns in Excel (less than
around
64) you should be able to copy/paste your Excel data into a new Word
document and use that as the data source.
I'm not sure if this sort of thing will work, as we are merging sheet 1
&
2
seperately but with the intention of sorta doin the same thing.
Why does doing two merges make a difference?
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:231178CB-825B-4E46-9BC5-C5FA88EB9DCA@microsoft.com...
thanks Peter,
I'm not sure if this sort of thing will work, as we are merging sheet 1
&
2
seperately but with the intention of sorta doin the same thing.
I've figured out that the cell information stops at 255 characters when
converted int Word. I somehow need to extend this amount if possible,
unfortunately theahrsh reality looks like I can't do that and will need
to
split the cells. Only problems there is there is so much data in the
column
that this is a problem with, it doesn't seem viable.
Any ideas??
"Peter Jamieson" wrote:
See http://tips.pjmsn.me.uk/t0003.htm
You probably need to try the "DDE" method mentioned near the top.
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:8AC641D2-D2D7-48B9-83FC-DF55D1F3E255@microsoft.com...
I've had a problem with mail merging data from Excel into Word.
It'll
take
over some of the data but can leave part of the information off. I
have
just
come to the conclusion that this is because it will only take 255
characters
from a particular Excel cell to Word.
Can anyone help in either extending the amount of characters or some
other
way to fix it??
Thanks in advance
Emily
|
|
|
| Back to top |
|
 |
EmilyR Guest
|
Posted: Mon Dec 24, 2007 2:30 am Post subject: Re: Merge Excel to Word field extension |
|
|
Hi i've had a look at the individual merge letters page. It doesn't look like
that would help us much in wot we are doing, but maybe my brain just can't
comprehend it!?
Also I went to try the DDE part, so Iwent through it as I was reading the
notes,when it got to this bit:
"after you have selected the file in the "Select Data Source" dialog box and
clicked "Open", you should see an additional dialog box titled "Confirm Data
Source"
g. select "MS Excel Worksheets via DDE (*.xls)" and click OK."
I clicked Open, but no ther dialog box popped up to be able to alter it.
We are using Word & Excel 200, but that shouldn't make a difference..
Will discuss again later.
Have a Merry Xmas, wish u & family all the best
"EmilyR" wrote:
| Quote: | We are typing data into the excel spreadsheet, each item has 1 row to fit
all the information.
Once we have the info we need in Excel, we go through our files, open the
word document, which has a pop up saying that
"Opening this document will run the following SQL command"
"Select * from 'STOCK$' "
"Data from your database will be placed in the document. Do you want to
continue?" Clcik yes, then select the Excel sheet we want it to link to. The
document then opens with the template, and we create the mail merge. Tools,
Mail Merge, edit recipient list, then tick the box next to the item that it
relates to.
Then when it's loaded the information we can see that 1 area only brings
over 255 characters from the cell.
In excel, sheet 1, so far we've used 321 rows for our items, and using up to
column 'BF'. The column that isn't coming through properly is 'Z', so we do
have a lot of data in there.
I hope this explains what we are trying to do???!!!!
I'll have a look at those links you've provided now and see how i go.. will
be in touch
"Peter Jamieson" wrote:
So are you
a. typing data into a 1 row Excel sheet, then merging that into a Word
document, then doing another row, or
b. typing multiple rows of data into an Excel sheet, then doing as many
merges as you have rows in the sheet, or
c. typing multiple rows into an Excel sheet, then doing one merge, then
splitting the output, or
d. what?
If you are typing multiple rows into an Excel sheet and you want to produce
1 document per record, your best bet is probably either to
a. do the merge, then split the output (see
http://www.gmayor.com/individual_merge_letters.htm ) or
b. use a VBA macro to do one merge per record. (I suspect in this case (a)
wpould give you everything you need but I can provide macro code for (b), or
you can search for it in this group (e.g. look for jamieson activerecord)
If you have only one -row spreadsheets as data sources, it surprises me that
you are only getting 255 characters through. I'd need to check again what
happens in that case. If you have multiple rows but all the first 8 have
fewer than 255 characters in the column in question, you would see the rest
of the rows truncate to 255 characters - all you /should/ need to do in that
case is introduce a dummy row someehere in the first 8 rows with more than
255 characters.
However, even if you cna't get the Excel data source to work, it really
should be quite easy to copy the entire data source into Word by selecting
the sheet, Edit|Copy, open a new Word document, Edit|Past. You don't have to
do a line by line copy. (Of course this is no use if you are creting one-row
spreadsheets).
I've also been told that the boss doesn't want
to seperate the information into 2 columns, which makes it even harder.
Sorry, can't deal with that sort of stuff from here...
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:2166CB40-844F-4F65-A887-F07EDFE46527@microsoft.com...
I'll have to look into the DDE bit,
the work we are doing is typing info into an excel spreadsheet, then
merging
it over to Word, each line in a separate document, and then each document
is
being downloaded onto our website.
Which with the amt of rows in each spreadsheet, it would be too difficult
to
copy and paste all of them. I've also been told that the boss doesn't
want
to seperate the information into 2 columns, which makes it even harder.
Thnaks very much
"Peter Jamieson" wrote:
1. Is it stopping at 255 using DDE?
2. (I'm assuming that you have the space on the label to fit those 255
characters )
3. Are you in a position to decide what mail merge data source you start
with? If you only have a small number of columns in Excel (less than
around
64) you should be able to copy/paste your Excel data into a new Word
document and use that as the data source.
I'm not sure if this sort of thing will work, as we are merging sheet 1
&
2
seperately but with the intention of sorta doin the same thing.
Why does doing two merges make a difference?
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:231178CB-825B-4E46-9BC5-C5FA88EB9DCA@microsoft.com...
thanks Peter,
I'm not sure if this sort of thing will work, as we are merging sheet 1
&
2
seperately but with the intention of sorta doin the same thing.
I've figured out that the cell information stops at 255 characters when
converted int Word. I somehow need to extend this amount if possible,
unfortunately theahrsh reality looks like I can't do that and will need
to
split the cells. Only problems there is there is so much data in the
column
that this is a problem with, it doesn't seem viable.
Any ideas??
"Peter Jamieson" wrote:
See http://tips.pjmsn.me.uk/t0003.htm
You probably need to try the "DDE" method mentioned near the top.
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:8AC641D2-D2D7-48B9-83FC-DF55D1F3E255@microsoft.com...
I've had a problem with mail merging data from Excel into Word.
It'll
take
over some of the data but can leave part of the information off. I
have
just
come to the conclusion that this is because it will only take 255
characters
from a particular Excel cell to Word.
Can anyone help in either extending the amount of characters or some
other
way to fix it??
Thanks in advance
Emily
|
|
|
| Back to top |
|
 |
Graham Mayor Guest
|
Posted: Mon Dec 24, 2007 6:34 am Post subject: Re: Merge Excel to Word field extension |
|
|
See also - You receive the "Opening this will run the following SQL
command" message when you open a Word mail merge main document that is
linked to a data source - http://support.microsoft.com/?kbid=825765
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
EmilyR wrote:
| Quote: | We are typing data into the excel spreadsheet, each item has 1 row to
fit all the information.
Once we have the info we need in Excel, we go through our files, open
the word document, which has a pop up saying that
"Opening this document will run the following SQL command"
"Select * from 'STOCK$' "
"Data from your database will be placed in the document. Do you want
to continue?" Clcik yes, then select the Excel sheet we want it to
link to. The document then opens with the template, and we create the
mail merge. Tools, Mail Merge, edit recipient list, then tick the
box next to the item that it relates to.
Then when it's loaded the information we can see that 1 area only
brings over 255 characters from the cell.
In excel, sheet 1, so far we've used 321 rows for our items, and
using up to column 'BF'. The column that isn't coming through
properly is 'Z', so we do have a lot of data in there.
I hope this explains what we are trying to do???!!!!
I'll have a look at those links you've provided now and see how i
go.. will be in touch
"Peter Jamieson" wrote:
So are you
a. typing data into a 1 row Excel sheet, then merging that into a
Word document, then doing another row, or
b. typing multiple rows of data into an Excel sheet, then doing as
many merges as you have rows in the sheet, or
c. typing multiple rows into an Excel sheet, then doing one merge,
then splitting the output, or
d. what?
If you are typing multiple rows into an Excel sheet and you want to
produce 1 document per record, your best bet is probably either to
a. do the merge, then split the output (see
http://www.gmayor.com/individual_merge_letters.htm ) or
b. use a VBA macro to do one merge per record. (I suspect in this
case (a) wpould give you everything you need but I can provide macro
code for (b), or you can search for it in this group (e.g. look for
jamieson activerecord)
If you have only one -row spreadsheets as data sources, it surprises
me that you are only getting 255 characters through. I'd need to
check again what happens in that case. If you have multiple rows but
all the first 8 have fewer than 255 characters in the column in
question, you would see the rest of the rows truncate to 255
characters - all you /should/ need to do in that case is introduce a
dummy row someehere in the first 8 rows with more than 255
characters.
However, even if you cna't get the Excel data source to work, it
really should be quite easy to copy the entire data source into Word
by selecting the sheet, Edit|Copy, open a new Word document,
Edit|Past. You don't have to do a line by line copy. (Of course this
is no use if you are creting one-row spreadsheets).
I've also been told that the boss doesn't want
to seperate the information into 2 columns, which makes it even
harder.
Sorry, can't deal with that sort of stuff from here...
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:2166CB40-844F-4F65-A887-F07EDFE46527@microsoft.com...
I'll have to look into the DDE bit,
the work we are doing is typing info into an excel spreadsheet, then
merging
it over to Word, each line in a separate document, and then each
document is
being downloaded onto our website.
Which with the amt of rows in each spreadsheet, it would be too
difficult to
copy and paste all of them. I've also been told that the boss
doesn't want
to seperate the information into 2 columns, which makes it even
harder.
Thnaks very much
"Peter Jamieson" wrote:
1. Is it stopping at 255 using DDE?
2. (I'm assuming that you have the space on the label to fit those
255 characters )
3. Are you in a position to decide what mail merge data source you
start with? If you only have a small number of columns in Excel
(less than around
64) you should be able to copy/paste your Excel data into a new
Word document and use that as the data source.
I'm not sure if this sort of thing will work, as we are merging
sheet 1 &
2
seperately but with the intention of sorta doin the same thing.
Why does doing two merges make a difference?
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:231178CB-825B-4E46-9BC5-C5FA88EB9DCA@microsoft.com...
thanks Peter,
I'm not sure if this sort of thing will work, as we are merging
sheet 1 &
2
seperately but with the intention of sorta doin the same thing.
I've figured out that the cell information stops at 255
characters when converted int Word. I somehow need to extend
this amount if possible, unfortunately theahrsh reality looks
like I can't do that and will need to
split the cells. Only problems there is there is so much data in
the column
that this is a problem with, it doesn't seem viable.
Any ideas??
"Peter Jamieson" wrote:
See http://tips.pjmsn.me.uk/t0003.htm
You probably need to try the "DDE" method mentioned near the top.
--
Peter Jamieson
http://tips.pjmsn.me.uk
"EmilyR" <EmilyR@discussions.microsoft.com> wrote in message
news:8AC641D2-D2D7-48B9-83FC-DF55D1F3E255@microsoft.com...
I've had a problem with mail merging data from Excel into Word.
It'll
take
over some of the data but can leave part of the information
off. I have
just
come to the conclusion that this is because it will only take
255 characters
from a particular Excel cell to Word.
Can anyone help in either extending the amount of characters or
some other
way to fix it??
Thanks in advance
Emily |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|