Merge another docx into a table in an existing docx

Would like to merge another docx into a cell in a table that exists in another Word file.


That is, I have a table in my Word file with 2 cells in landscape mode. On the right half of this page, I have some text. On the left half I need to merge another .docx file.


Any and all help appreciated,
 

Question Info


Last updated January 24, 2019 Views 16 Applies to:
Hi Markus,

If this is to be dynamic, use an INCLUDETEXT field.
See my IncludeText tutorial here:
http://www.addbalance.com/word/download/index.h...
----------------------------------
This link is to a page on my website. It is safe. I am providing it because I think it contains information that will help you. However, as an Independent Advisor I am required to add the following when posting here with a link to any non-Microsoft site:
----------------------------------
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
----------------------------------

If you just want the text and you do not care if the original changes, use copy and paste. If that won't work for some reason, write back.

I hope this information helps. Please let me know if you have any more questions or require further help.

Regards
Please mark helpful or answered as appropriate to help other users.

Charles Kenyon
Attorney at Law
Madison, Wisconsin
wordfaq[at]addbalance[dot]com

http://addbalance.com/usersguide/styles.htm

1 person was helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Hi Markus,

If this is to be dynamic, use an INCLUDETEXT field.
See my IncludeText tutorial here:
http://www.addbalance.com/word/download/index.h...
----------------------------------
This link is to a page on my website. It is safe. I am providing it because I think it contains information that will help you. However, as an Independent Advisor I am required to add the following when posting here with a link to any non-Microsoft site:
----------------------------------
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
----------------------------------

If you just want the text and you do not care if the original changes, use copy and paste. If that won't work for some reason, write back.

I hope this information helps. Please let me know if you have any more questions or require further help.

Regards

I actually discovered how to do this using insert-object-text from file.

Now for the bigger challenge, I need to do this in a mailmerge.  That is, each page of this docx gets info from Excel, which also contains the path and file name of the docx I need to merge.

Anyone have any help they can give?
Thanks,
Mark

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Do not use the object, use the includetext field.
You can use a mergefield for the file to be included. This requires editing the field. Please write back if you do not know how to do this.
Please mark helpful or answered as appropriate to help other users.

Charles Kenyon
Attorney at Law
Madison, Wisconsin
wordfaq[at]addbalance[dot]com

http://addbalance.com/usersguide/styles.htm

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Thanks for this.

The project includes a .docx file with a table in it.  Information in the cells is obtained from an Excel sheet for the merge.

Each row in the sheet contains data for the merge, but can also contain a path and name of another .docx file I want to be merged as text into the final mail merge document.

The includetext field is new to me.  If I understand it:

- the Excel sheet will contain a column for the includetext which will reference the docx to merge.  This will change in each row in my case.

- the Excel sheet is being prepared by an Access program which writes in the name of the file in each row

- would I need the Access program to write into the datasource cell something like: {QUOTE{INCLUDETEXT "H:\\MergeDocs\\{MERGEFIELD MyFile}.docx"}}  to get the correct docx file for that row?

Thanks for all your help,

Mark

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

No. I believe you simply want the mergefield in your Word document. The target file is in a column in your Excel file. The Access file would write "HQ\\MergeDocs\\MyFile.docx" in the Excel file. The quotation marks are for here, not what goes in the Excel file.
Please mark helpful or answered as appropriate to help other users.

Charles Kenyon
Attorney at Law
Madison, Wisconsin
wordfaq[at]addbalance[dot]com

http://addbalance.com/usersguide/styles.htm

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Cheers,
Paul Edstein
[MS MVP - Word]

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Great...will be working on this this weekend.  When I get it to work you'll probably hear a cheer all the way from California to Madison:)

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Please do let me know,
Please mark helpful or answered as appropriate to help other users.

Charles Kenyon
Attorney at Law
Madison, Wisconsin
wordfaq[at]addbalance[dot]com

http://addbalance.com/usersguide/styles.htm

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.