Solved

Truncated text from Excel to Word Merge

Posted on 2007-04-03
7
311 Views
Last Modified: 2012-05-05
Hi All

I am merging to word from excel (2003)

The fields are being truncated after 255 characters.

Why? And is there a solution.

0
Comment
Question by:danhleighton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 18842484
It is, as far as I know, a limitation of all versions of Office other than 2007. To workaround it, I think you would need to use automation to open the Excel workbook and populate bookmarks in the Word document.
Regards,
Rory
0
 
LVL 45

Accepted Solution

by:
patrickab earned 500 total points
ID: 18842494
I suggest that you split the Excel strings into 225-long chunks in differents Excel cells, give them a <<fieldname>> and add them into the Word merge.
0
 

Author Comment

by:danhleighton
ID: 18842612
Thanks guys

Rorya I don't really understand what you mean there...

Patrick  - I understand but I am not sure whether that is going to work!

Can I create an Access DB using the spreadsheet as the source and then create a series of lookup tables with all the fields set to memo?


0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 85

Expert Comment

by:Rory Archibald
ID: 18842630
You can link a worksheet as a table in an Access db.
By automation, I mean that you would write code to physically start an instance of Excel, open the workbook you want and then loop through all the rows, populating and printing the word document as necessary. The Access db may be an easier option!
Regards,
Rory
0
 
LVL 45

Expert Comment

by:patrickab
ID: 18842845
>I understand but I am not sure whether that is going to work!

Why wouldn't it work?
0
 

Author Comment

by:danhleighton
ID: 18937947
Thanks all PatrickAB has provided the answer which helped me.
0
 
LVL 45

Expert Comment

by:patrickab
ID: 18942034
danhleighton - Thanks for the points - Patrick
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question