Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-25-2011, 01:01 PM
nielsa nielsa is offline different footers in 1 word template Windows 7 32bit different footers in 1 word template Office 2010 32bit
Novice
different footers in 1 word template
 
Join Date: Jul 2011
Posts: 3
nielsa is on a distinguished road
Default different footers in 1 word template

I am looking for a solution in Word.

Is it possible to choose different footers in a template.

We want to use 1 template for our 5 companies, with different
adresses, so the footer must contain the right adress of the company.



Is there a solution in Word 2010 ?

Many thx for your answers!
Reply With Quote
  #2  
Old 07-25-2011, 09:03 PM
macropod's Avatar
macropod macropod is offline different footers in 1 word template Windows 7 64bit different footers in 1 word template Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi nielsa,

Is there a reason each branch can't have it's own version of the template?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 07-26-2011, 05:23 AM
nielsa nielsa is offline different footers in 1 word template Windows 7 32bit different footers in 1 word template Office 2010 32bit
Novice
different footers in 1 word template
 
Join Date: Jul 2011
Posts: 3
nielsa is on a distinguished road
Default

Hi Paul,

Yes the reason is that the we use one template that is linked with our ERP Navision.

Regards,

Niels
Reply With Quote
  #4  
Old 07-26-2011, 07:02 PM
macropod's Avatar
macropod macropod is offline different footers in 1 word template Windows 7 64bit different footers in 1 word template Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Niels,

There are various ways of approaching this, using a 'Document_New' macro in the template's 'This Document' module. For example, if you just want text such as a name & address:
Code:
Private Sub Document_New()
Dim Rslt
With ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).Range
  While Not Rslt Like "[1-5]"
  Rslt = InputBox("Which company's details should appear?" & vbCr & "Please input the corresponding number." & vbCr & _
      "1: Company A" & vbCr & _
      "2: Company B" & vbCr & _
      "3: Company C" & vbCr & _
      "4: Company D" & vbCr & _
      "5: Company E")
  Wend
  Select Case Rslt
    Case 1: .Text = "Company A Name" & vbCr & "Company A Address"
    Case 2: .Text = "Company B Name" & vbCr & "Company B Address"
    Case 3: .Text = "Company C Name" & vbCr & "Company C Address"
    Case 4: .Text = "Company D Name" & vbCr & "Company D Address"
    Case 5: .Text = "Company E Name" & vbCr & "Company E Address"
  End Select
End With
End Sub
Additional code would be required to add a graphic from a file, but the idea is the same.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 07-27-2011, 03:31 AM
Kimberly Kimberly is offline different footers in 1 word template Windows 7 64bit different footers in 1 word template Office 2010 64bit
Expert
 
Join Date: May 2010
Posts: 517
Kimberly is on a distinguished road
Default

Excuse me for interrupting, but there is a new feature that I love and you might like.

Create a header and select it.
Click Insert > Header > Save Selection to Header gallery.
I would make a new Category here, something like 1Custom (so it will sort to the top), and give your header a name (perhaps a company name).
Delete the header from the page and make the next one, save it to the 1Custom category of the header gallery. Delete it from the page and make the next header, etc.
Save the template.
Now whenever someone makes a doc using the template, their Header gallery will have the custom choices available.
Reply With Quote
  #6  
Old 07-27-2011, 04:16 AM
macropod's Avatar
macropod macropod is offline different footers in 1 word template Windows 7 64bit different footers in 1 word template Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Kimberly,

For the OP's needs, you'd need to use footers, but the principle is the same. However, without some form of automation, there's a risk that no footer will be inserted. On that front, the code I posted could be adapted to retrieve an entry from the gallery.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #7  
Old 07-29-2011, 11:53 AM
nielsa nielsa is offline different footers in 1 word template Windows 7 32bit different footers in 1 word template Office 2010 32bit
Novice
different footers in 1 word template
 
Join Date: Jul 2011
Posts: 3
nielsa is on a distinguished road
Default it works

Perfect macro, it works.

Many thx

Niels
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
different footers in 1 word template Template Footers and Tracked Changes soross Word 1 03-08-2011 01:48 PM
different footers in 1 word template Word page numbers and footers. drenriza Word 5 01-27-2011 12:47 AM
Headers and Footers OverAchiever13 Word 1 05-27-2010 01:30 PM
Having trouble with footers in Word 2004 RRae Word 0 02-26-2010 06:39 AM
How to type on the back of word template receipts through word ??? Qintex Solutions llc Word 3 10-02-2009 07:52 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:05 AM.


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