Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2012, 10:34 AM
Kerry Kerry is offline Embedding Dynamic Elements in a Word Document Windows Vista Embedding Dynamic Elements in a Word Document Office 2007
Novice
Embedding Dynamic Elements in a Word Document
 
Join Date: Jan 2012
Posts: 3
Kerry is on a distinguished road
Default Embedding Dynamic Elements in a Word Document


Is it possible to embed dynamic elements in a Word document? We have a set of documents our department uses regularly. However, due to regular organizational changes, the department name, logo, address, etc. change frequently. As a result, within weeks of updating these documents they are out of date again.

I'd like to create a set of templates that draws some fields from a database or other location. Data would include plain text and some graphics.

I've had a look at creating a mailmerge document but the document needs to open like a regular template. It seems that mailmerge documents are kind of clumsy.

Does anyone have ideas on how to do this?
Reply With Quote
  #2  
Old 01-10-2012, 06:15 PM
macropod's Avatar
macropod macropod is offline Embedding Dynamic Elements in a Word Document Windows 7 64bit Embedding Dynamic Elements in a Word Document Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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 Kerry,

You could have your templates configured with INCLUDETEXT & INCLUDEPICTURE fields that reference the relevant content in 'master' files. That way, you'd only need to update the master files for the changes to be reflected in all documents created from those templates. Of course, the templates would also need to have a 'Document_New' macro that unlinks the INCLUDETEXT & INCLUDEPICTURE fields any newly-created documents, so that a later change in logos etc wouldn't be reflected in those files too.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 01-13-2012, 12:20 PM
Kerry Kerry is offline Embedding Dynamic Elements in a Word Document Windows Vista Embedding Dynamic Elements in a Word Document Office 2007
Novice
Embedding Dynamic Elements in a Word Document
 
Join Date: Jan 2012
Posts: 3
Kerry is on a distinguished road
Default

Thank you! I'll give that a try. it sounds as though it will work, provided I can find a network drive everyone can access and I have permission to store files there.
Reply With Quote
  #4  
Old 01-13-2012, 03:51 PM
macropod's Avatar
macropod macropod is offline Embedding Dynamic Elements in a Word Document Windows 7 64bit Embedding Dynamic Elements in a Word Document Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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 Kerry,

Provided someone has permission to store the files there, that someone shouldn't need to be you - simply send them the updates when required.

A 'Document_New' macro for the template, to update & unlink the INCLUDETEXT & INCLUDEPICTURE fields in any newly-created documents would look like:
Code:
Private Sub Document_New()
With ActiveDocument.Sections.First.Headers(wdHeaderFooterPrimary).Range.Fields
  .Update
  .Unlink
End With
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Embedding Dynamic Elements in a Word Document embedding all elements of powerpoint presentation kizzieb PowerPoint 1 11-05-2011 08:30 AM
Embedding Dynamic Elements in a Word Document seach an Excel list elements in word document 7ajar Word VBA 5 03-16-2011 12:38 PM
Embedding Excel Object in Word Document Failing brandonf Word 0 10-04-2010 11:45 AM
Embedding Text in MS Word ralphe Word 0 09-30-2010 01:41 PM
MS Word to pdf - elements moved SFC Word 1 05-25-2010 11:27 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:52 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