Forum Discussion

KlaCat's avatar
KlaCat
Copper Contributor
Oct 23, 2022
Solved

How to import the text from another docx but change the formatting

Good day.

 

I have five documents. All five should have exactly the same content (text and footnotes) but different formatting and layout (paper size, font size, line spacing, columns, etc.).

 

Is there a way to change the text of only one document without needing to copy-paste it to the other two?

 

Thank you!

  • KlaCat 

    Styles are the key to this.

    1. Create your base document. This should not have any columns set (i.e. be a single column).
    2. Create new documents with the layouts you want and use an IncludeText field to bring in the text from the original document.
    3. Change styles for font size and line spacing. Your new documents have any differences in column formatting.
    4. Make any changes in your base document when needed.
    5. To transfer those to the derivative documents, open them, select all, and press the F9 key to refresh the IncludeText Field.

     

8 Replies

  • Charles_Kenyon's avatar
    Charles_Kenyon
    Bronze Contributor

    KlaCat 

    Styles are the key to this.

    1. Create your base document. This should not have any columns set (i.e. be a single column).
    2. Create new documents with the layouts you want and use an IncludeText field to bring in the text from the original document.
    3. Change styles for font size and line spacing. Your new documents have any differences in column formatting.
    4. Make any changes in your base document when needed.
    5. To transfer those to the derivative documents, open them, select all, and press the F9 key to refresh the IncludeText Field.

     

  • After changing one document, save it, and then use File Save As twice to save it with the same filename as the other two documents so that it replaces each of them by clicking on OK with the "Replace existing file" item selected when you see a dialog advising that a file with that name already exists.
    • KlaCat's avatar
      KlaCat
      Copper Contributor

      Doug_Robbins_Word_MVP 

      I'm sorry, how does this help? Won't that just save the original document - including its formatting - but with a different file name?

       

      I wanted the same content (like text and footnotes) but

      different formatting and layout (paper size, font size, line spacing, columns, etc.) 

      for each of the documents.

      • KlaCat  If you used Styles for all of the text in the document, in a copy of it, you can change the appearance by modifying the styles. 

         

        But, you said:

         

        Is there a way to change the text of only one document without needing to copy-paste it to the other two?

         

        What does that mean?

         

        If you change the text of one document, you can save multiple (two) copies of it

Resources