Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
joefox joefox is offline
external usenet poster
 
Posts: 12
Default Word Template Integration With AD

Hopefully someone will have an idea of how to do what I'm trying to do. We
use custom templates for MS Word 2003. The templates contain user names so
when creating a letter, we can populate the info (address, etc)
automaticatically once a name is selected. The problem is that we have to
manually edit the Names.doc file everytime we have a new user or name change,
etc. Is there any way to get the info to be pulled directly from Active
Directory so everytime a change is made in AD, it is also made in the
template file?

Thanks in advance for any replies received.
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Malin D Malin D is offline
external usenet poster
 
Posts: 8
Default Word Template Integration With AD

Yes that is possible, with code. We create such templates for our clients.
Try asking this in the VBA/Macro group instead.

Best regards

Malin D
Office consultant/Trainer


"joefox" wrote:

Hopefully someone will have an idea of how to do what I'm trying to do. We
use custom templates for MS Word 2003. The templates contain user names so
when creating a letter, we can populate the info (address, etc)
automaticatically once a name is selected. The problem is that we have to
manually edit the Names.doc file everytime we have a new user or name change,
etc. Is there any way to get the info to be pulled directly from Active
Directory so everytime a change is made in AD, it is also made in the
template file?

Thanks in advance for any replies received.

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Malin D Malin D is offline
external usenet poster
 
Posts: 8
Default Word Template Integration With AD

Yes that is possible, with code. We create such templates for our clients.
Try asking this in the VBA/Macro group instead.

Best regards

Malin D
Office consultant/Trainer


"joefox" wrote:

Hopefully someone will have an idea of how to do what I'm trying to do. We
use custom templates for MS Word 2003. The templates contain user names so
when creating a letter, we can populate the info (address, etc)
automaticatically once a name is selected. The problem is that we have to
manually edit the Names.doc file everytime we have a new user or name change,
etc. Is there any way to get the info to be pulled directly from Active
Directory so everytime a change is made in AD, it is also made in the
template file?

Thanks in advance for any replies received.

  #4   Report Post  
Posted to microsoft.public.word.docmanagement
joefox joefox is offline
external usenet poster
 
Posts: 12
Default Word Template Integration With AD

Thanks for the reply. Sorry for my ignorance, but I'm new on here. Where is
the VBA group?

"Malin D" wrote:

Yes that is possible, with code. We create such templates for our clients.
Try asking this in the VBA/Macro group instead.

Best regards

Malin D
Office consultant/Trainer


"joefox" wrote:

Hopefully someone will have an idea of how to do what I'm trying to do. We
use custom templates for MS Word 2003. The templates contain user names so
when creating a letter, we can populate the info (address, etc)
automaticatically once a name is selected. The problem is that we have to
manually edit the Names.doc file everytime we have a new user or name change,
etc. Is there any way to get the info to be pulled directly from Active
Directory so everytime a change is made in AD, it is also made in the
template file?

Thanks in advance for any replies received.

  #5   Report Post  
Posted to microsoft.public.word.docmanagement
joefox joefox is offline
external usenet poster
 
Posts: 12
Default Word Template Integration With AD

Thanks for the reply. Sorry for my ignorance, but I'm new on here. Where is
the VBA group?

"Malin D" wrote:

Yes that is possible, with code. We create such templates for our clients.
Try asking this in the VBA/Macro group instead.

Best regards

Malin D
Office consultant/Trainer


"joefox" wrote:

Hopefully someone will have an idea of how to do what I'm trying to do. We
use custom templates for MS Word 2003. The templates contain user names so
when creating a letter, we can populate the info (address, etc)
automaticatically once a name is selected. The problem is that we have to
manually edit the Names.doc file everytime we have a new user or name change,
etc. Is there any way to get the info to be pulled directly from Active
Directory so everytime a change is made in AD, it is also made in the
template file?

Thanks in advance for any replies received.



  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Word Template Integration With AD

The simplest means of doing this would be to store the addresses etc in an
Outlook contacts list and set that list as an Outlook address book. You can
then call the contacts from that address book in Word using a macro to place
the data - there are examples at http://www.gmayor.com/Macrobutton.htm

An alternative would be to populate a table with your names and addresses
and create a macro to read the table and display the information in a
userform and apply the selected data to the document. For the basics, see
Word MVP FAQ - Userforms
http://word.mvps.org/FAQs/Userforms.htm

for a more in depth explanation, see
http://gregmaxey.mvps.org/Create_and...a_UserForm.htm

I suppose that your current procedure is somewhat similar to this. Whether
it is possible to access ActiveDirectory data directly I cannot say. I have
no knowledge of its use. You could ask in a programming forum.

You appear to have joined this news server via Microsoft's web forum. To
access the vba forum look for the Word programming group.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"joefox" wrote in message
...
Hopefully someone will have an idea of how to do what I'm trying to do. We
use custom templates for MS Word 2003. The templates contain user names so
when creating a letter, we can populate the info (address, etc)
automaticatically once a name is selected. The problem is that we have to
manually edit the Names.doc file everytime we have a new user or name
change,
etc. Is there any way to get the info to be pulled directly from Active
Directory so everytime a change is made in AD, it is also made in the
template file?

Thanks in advance for any replies received.



  #7   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Word Template Integration With AD


The simplest means of doing this would be to store the addresses etc in an
Outlook contacts list and set that list as an Outlook address book. You can
then call the contacts from that address book in Word using a macro to place
the data - there are examples at http://www.gmayor.com/Macrobutton.htm

An alternative would be to populate a table with your names and addresses
and create a macro to read the table and display the information in a
userform and apply the selected data to the document. For the basics, see
Word MVP FAQ - Userforms
http://word.mvps.org/FAQs/Userforms.htm

for a more in depth explanation, see
http://gregmaxey.mvps.org/Create_and...a_UserForm.htm

I suppose that your current procedure is somewhat similar to this. Whether
it is possible to access ActiveDirectory data directly I cannot say. I have
no knowledge of its use. You could ask in a programming forum.

You appear to have joined this news server via Microsoft's web forum. To
access the vba forum look for the Word programming group.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"joefox" wrote in message
...
Hopefully someone will have an idea of how to do what I'm trying to do. We
use custom templates for MS Word 2003. The templates contain user names so
when creating a letter, we can populate the info (address, etc)
automaticatically once a name is selected. The problem is that we have to
manually edit the Names.doc file everytime we have a new user or name
change,
etc. Is there any way to get the info to be pulled directly from Active
Directory so everytime a change is made in AD, it is also made in the
template file?

Thanks in advance for any replies received.



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word / BCM Integration DWF Microsoft Word Help 1 August 30th 08 07:36 AM
Integration of Word, Excel & VB MaxArk[_2_] Mailmerge 1 April 2nd 08 08:47 PM
Submenu Integration Karth Microsoft Word Help 0 June 4th 06 02:17 AM
Groupwise Integration with Word 2003 Jazz Raja Microsoft Word Help 0 May 17th 05 10:46 AM
Outlook email integration with Word MarkG Mailmerge 0 January 12th 05 09:59 AM


All times are GMT +1. The time now is 08:18 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"