#1
|
|||
|
|||
Help on combining 4 word docs in 1
Hello all,
I was wondering if what I’m thinking can be done with Word. So our company does 4 different types of reviews and we use a blank word documents that has all the questions on the left side of the table and as the reviewer we are supposed to fill out the corresponding question on the right side of the table (Table with 2 columns). Review 1 has like 10 question that needs to be answered, review 2 has 20 questions and so on. We currently have 4 different word documents which we use for each type of review. There are two different departments that reviews different section of each file. Department 1 always has the same amount of questions regardless of the type of review. Its department 2 that has the 4 different reviews. Department 1 is always the department that creates the word file and most of the time when it gets to department 2 we realize that they selected the wrong type of review, so we have to open a new documents and copy and paste the missing question into the original file. Is there a way to have only one word document that has all the needed questions in it and when it gets to department 2 the reviewer to be able to select the type of review they intend to do and then only the required questions to be visible meaning if the type of review is review 2 the 20 questions that is required to be addressed to be only visible nothing more. I hope all of this makes sense. I tried to Google this but I don’t know exactly what to search for. |
#2
|
||||
|
||||
There are several ways that you could handle this. I suspect my preference would be to save the core document as a macro enabled template and all the tables as separate Autotext/Building Block entries in that template.
You could then create a simple userform with four radio buttons, the selection from which would insert the appropriate building block in the new document created from the template. I would start with the document template having an autotext field inserted to display one of the autotext entries. It is then a simple matter to replace the field code according to the choice of option button. The following macro will change the field. Call it from the userform e.g. Code:
Sub ChangeAutoText(strText As String) Dim oFld As Field Dim oRng As Word.Range Set oRng = ActiveDocument.Range For Each oFld In oRng.Fields If oFld.Type = wdFieldAutoText Then oFld.Locked = False oFld.Code.Text = Replace(oFld.Code, oFld.Code.Text, "AUTOTEXT " & strText) oFld.Update oFld.Locked = True Exit For End If Next oFld lbl_Exit: Exit Sub End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#3
|
|||
|
|||
Thank you but it looks like this is way more complicated than i thought. I'm not sure if I'm savvy enough to create a document like this,
|
#4
|
||||
|
||||
On the contrary it is very simple. If you replace the four autotext entries (Document1, Document2, Document3 and Document4) in the attached template, with the contents of your four documents, you can use the attached as the basis of the project.
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#5
|
|||
|
|||
Thank you i will play around with it this weekend and let you know what happens.
Thank you! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
combining borders and word art | RYSiebert | Word | 1 | 12-09-2013 11:03 AM |
Combining Tracked Changes in WORD | pghboy | Word | 0 | 12-13-2012 09:36 AM |
Combining Multiple Word Documents Heading/Figure Issues Word 2007 | grantgibson45 | Word | 1 | 09-10-2012 11:00 PM |
combining word documents with endnotes | mikelee114 | Word | 1 | 04-08-2012 05:27 AM |
Combining Word Documents | dms997 | Word | 5 | 02-26-2011 03:25 AM |