Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-17-2014, 04:09 PM
SamUS SamUS is offline Help on combining 4 word docs in 1 Windows 8 Help on combining 4 word docs in 1 Office 2013
Novice
Help on combining 4 word docs in 1
 
Join Date: Dec 2014
Posts: 3
SamUS is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old 12-17-2014, 11:01 PM
gmayor's Avatar
gmayor gmayor is offline Help on combining 4 word docs in 1 Windows 7 64bit Help on combining 4 word docs in 1 Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,101
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

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
Reply With Quote
  #3  
Old 12-18-2014, 02:56 PM
SamUS SamUS is offline Help on combining 4 word docs in 1 Windows 8 Help on combining 4 word docs in 1 Office 2013
Novice
Help on combining 4 word docs in 1
 
Join Date: Dec 2014
Posts: 3
SamUS is on a distinguished road
Default

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,
Reply With Quote
  #4  
Old 12-18-2014, 10:52 PM
gmayor's Avatar
gmayor gmayor is offline Help on combining 4 word docs in 1 Windows 7 64bit Help on combining 4 word docs in 1 Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,101
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

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.
Attached Files
File Type: dotm Example Template.dotm (36.1 KB, 11 views)
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #5  
Old 12-19-2014, 06:25 PM
SamUS SamUS is offline Help on combining 4 word docs in 1 Windows 8 Help on combining 4 word docs in 1 Office 2013
Novice
Help on combining 4 word docs in 1
 
Join Date: Dec 2014
Posts: 3
SamUS is on a distinguished road
Default

Thank you i will play around with it this weekend and let you know what happens.

Thank you!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help on combining 4 word docs in 1 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
Help on combining 4 word docs in 1 Combining Word Documents dms997 Word 5 02-26-2011 03:25 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:18 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft