Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Nick Nick is offline
external usenet poster
 
Posts: 57
Default global variables helps?

Hi All,

i have a variables call company address, and it is used in several word
templates. everytime i update the company address, i have to update every
word template, which is very annoying.
so i just wonder that is that way i can store this varialbe in central file
or module , then i only need update once.

Cheers

Nick
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Summer Summer is offline
external usenet poster
 
Posts: 333
Default global variables helps?

Use Global Autotext Template and use Autotext.
"Nick" wrote in message
news
Hi All,

i have a variables call company address, and it is used in several word
templates. everytime i update the company address, i have to update every
word template, which is very annoying.
so i just wonder that is that way i can store this varialbe in central
file
or module , then i only need update once.

Cheers

Nick



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Cindy M. Cindy M. is offline
external usenet poster
 
Posts: 2,416
Default global variables helps?

Hi ?B?Tmljaw==?=,

i have a variables call company address, and it is used in several word
templates. everytime i update the company address, i have to update every
word template, which is very annoying.
so i just wonder that is that way i can store this varialbe in central file
or module , then i only need update once.

Certainly you can store it in an external file. If you're using Word VBA, a
very simple technique is to store it in INI format, then use
System.PrivateProfileString to access the information.

An example of INI file content:

[Global info]
CompanyAddress = "The information here"

An INI file is a plain text file (you can create it using Notepad) with the
file extension .ini

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)

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
How do I turn off MS "helps" that keep popping up? JB Microsoft Word Help 2 June 15th 07 02:31 AM
variables in WORD shank New Users 1 April 21st 06 07:45 PM
How to Disable Auto Helps? David Habercom Microsoft Word Help 1 March 2nd 06 04:55 PM
Using variables in a document Bill Page Layout 5 February 3rd 05 12:06 AM
Variables? LDanix Mailmerge 1 December 21st 04 08:54 AM


All times are GMT +1. The time now is 03:09 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"