Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-06-2015, 05:18 PM
anakaine anakaine is offline Include header and footer formatting when using IF conditional includes of separate documents Windows 7 64bit Include header and footer formatting when using IF conditional includes of separate documents Office 2010 64bit
Novice
Include header and footer formatting when using IF conditional includes of separate documents
 
Join Date: Nov 2015
Posts: 2
anakaine is on a distinguished road
Default Include header and footer formatting when using IF conditional includes of separate documents

Hi all, first time post, long time searcher.



I've got a problem I have only been able to find partial solutions to so far.

I have an excel matrix that includes many rows of people. Columns in this matrix define whether they should be presented with signoff paperwork for various things. There's about 40 document possibilities, with more coming, and there's well over 100 people. New people are added, and currently the process involves someone adding an individuals info to every document, then printing it.

With this logic the workers requirements are formalised in a matrix, and the master document looks at the matrix, pulls out only those relevant documents and presents them as a mailmerge product

Currently my code looks like:

Code:
{ IF = { MERGEFIELD Supervisor } = "Yes" "{INCLUDETEXT "S:\\pathtodocuments\\Supervisor.docx" }" }

{ IF = { MERGEFIELD Worker } = "Yes" "{INCLUDETEXT "S:\\pathtodocuments\\Worker.docx" }" }

{ IF = { MERGEFIELD Supervisor } = "Yes" "{INCLUDETEXT "S:\\pathtodocuments\\Robot.docx" }" }
The question(s) I have, however, are:

Each 'child' document includes header and footer information. The document name is actually kept in the header and thus is necessary to keep (also because these documents are designed to a consistent corporate standard). Using the current method header and footer informaiton is lost, though the rest of the document remains intact. How can I keep the header and footer (even using a different method?)

The other, rather small point: is there a way I can force a section break between each document that is included? Ie not between each IF statement, but rather between each document that is included via the IF criteria?

Thanks
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Header / Footer for ALL documents Abri Word 3 08-13-2015 04:40 AM
Header and footer aligned in the footer area ashiqghfr Word 2 07-23-2015 01:14 AM
Include header and footer formatting when using IF conditional includes of separate documents Can't remove header & footer formatting ... frangipan Word 2 07-11-2014 12:27 PM
include heading text in header eNGiNe Word 2 03-06-2013 12:24 AM
header/footer problems only in certain documents Endzone Word 5 08-15-2012 01:04 AM

Other Forums: Access Forums

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


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